\(2\left(n+5\right)⋮2\left(n+1\right)\)
\(\Rightarrow2n+1+4⋮2n+1\)
mà \(2n+1⋮2n+1\Rightarrow4⋮2n+1\)
\(\Rightarrow2n+1\inƯ\left(4\right)=\left\{\pm1;\pm2;\pm4\right\}\)
Nếu : 2n + 1 = 1 => n = 0 ( TM )
2n + 1 = -1 => -1 ( loại )
2n + 1 = 2=> 1/2 ( loại )
2n + 1 = -2 = -3/2 ( loại )
2n + 1 = 4 => 3/2 ( loại )
2n + 1 = -4 = -5/2 ( loại )
Vậy \(x\in\left\{0\right\}\)
\(2\left(n+5\right)⋮2n+1\)
=> \(2n+10⋮2n+1\)
=> \(\left(2n+1\right)+9⋮2n+1\)
Ta có : \(\left(2n+1\right)⋮2n+1;9⋮2n+1\)
=> \(2n+1\inƯ9\)
=>\(\hept{\begin{cases}2n+1=1\\2n+1=3\\2n+1=9\end{cases}}\)=>\(\hept{\begin{cases}2n=1-1\\2n=3-1\\2n=9-1\end{cases}}\) =>\(\hept{\begin{cases}2n=0\\2n=2\\2n=8\end{cases}}\) =>\(\hept{\begin{cases}n=0:2\\n=2:2\\n=8:2\end{cases}}\) =>\(\hept{\begin{cases}n=0\left(TM\right)\\n=1\left(TM\right)\\n=4\left(TM\right)\end{cases}}\)
Vậy \(n\in\left\{0;1;4\right\}\)