a. Ta có: \(\dfrac{n+5}{n-1}=\dfrac{n-1+6}{n-1}=\dfrac{n-1}{n-1}+\dfrac{6}{n-1}=1+\dfrac{6}{n-1}\)
Để \(n+5⋮n-1\Rightarrow6⋮n-1\Leftrightarrow n-1\inƯ\left(6\right)=\left\{-6;-3;-2;-1;1;2;3;6\right\}\)
Ta có bảng sau:
n-1 | -6 | -3 | -2 | -1 | 1 | 2 | 3 | 6 |
n | -5 | -2 | -1 | 0 | 2 | 3 | 4 | 7 |
Vậy \(n=\left\{-5;-2;-1;0;2;3;4;7\right\}\)