ta có : \(\frac{-n+2}{n-1}=\frac{-\left(n-1\right)+1}{n-1}=\frac{-\left(n-1\right)}{n-1}+\frac{1}{n-1}=-1+\frac{1}{n-1}\)
để \(\frac{-n+2}{n-1}\in z\Rightarrow\frac{1}{n-1}\in z\)
\(\Rightarrow1⋮n-1\Rightarrow n-1\inƯ_{\left(1\right)}=\left(1;-1\right)\)
nếu n-1 =1 => n= 2 (TM)
n-1 =-1 => n= 0 (TM)
KL: n= 2; n=0
Chúc bn học tốt!!