\(\left(3n+1\right)⋮\left(n-2\right).\)
\(\Rightarrow\left(3n-6+7\right)⋮\left(n-2\right).\)
Vì \(\left(3n-6\right)⋮\left(n-2\right)\)nên \(7⋮\left(n-2\right)\).
\(\Rightarrow n-2\inƯ\left(7\right)=\left\{\pm1;\pm7\right\}.\)
\(TH1:n-2=-7\).
\(\Rightarrow n=-7-2.\)
\(\Rightarrow n=-5\).
\(TH2:n-2=-1\).
\(\Rightarrow n=-1+2\).
\(\Rightarrow n=1\).
\(TH3:n-2=1.\)
\(\Rightarrow n=1+2\).
\(\Rightarrow n=3.\)
\(TH4:n-2=7.\)
\(\Rightarrow n=7+2\).
\(\Rightarrow n=10.\)
Vậy \(n\in\left\{-5;1;;3;10\right\}\)
3n+1=3n-6+7=3*[n-2]+7
=> 7 chia hết n-2