\(2n+5⋮n+1\)
Mà \(n+1⋮n+1\)
\(\Leftrightarrow\left\{{}\begin{matrix}2n+5⋮n+1\\2n+2⋮n+1\end{matrix}\right.\)
\(\Leftrightarrow3⋮n+1\)
\(\Leftrightarrow n-1\inƯ\left(3\right)\)
\(\Leftrightarrow\left[{}\begin{matrix}n+1=1\\n+1=3\\n+1=-1\\n+1=-3\end{matrix}\right.\) \(\Leftrightarrow\left[{}\begin{matrix}n=0\\n=2\\n=-2\\n=-4\end{matrix}\right.\)
Vậy ..