Ta có:\(n-5⋮n+1\)
\(\Rightarrow\left(n+1\right)-6⋮n+1\)
\(\Rightarrow6⋮n+1\)(vì\(n+1⋮n+1\))
\(\Rightarrow n+1\inƯ\left(6\right)\)
\(\Rightarrow n+1\in\left\{-1;-2;-3;-6;1;2;3;6\right\}\)
\(\Rightarrow n\in\left\{-2;-3;-4;-7;0;1;2;5\right\}\)
Học tốt nha!!!
\(n-5⋮n+1\Rightarrow n+1-6⋮n+1\Rightarrow n+1\inƯ\left(6\right)\)
n+1 | 1 | -1 | 2 | -2 | 3 | -3 | 6 | -6 |
n | 0 | -2 | 1 | -3 | 2 | -4 | 5 | -7 |
vậy \(n\in\left(-7,-4,-3,-2,0,1,2,5\right)\)
\(n-5⋮n+1\)
\(\Rightarrow n+1-6⋮n+1\)
Vì \(n+1⋮n+1\)
\(\Rightarrow n+1\inƯ\left(-6\right)=\left\{\pm1;\pm2;\pm3;\pm6\right\}\)
Ta lập bảng xét giá trị
n+1 | -1 | 1 | -2 | 2 | -3 | 3 | -6 | 6 |
n | -2 | 0 | -3 | 1 | -4 | 2 | -7 | 5 |