Ta có: \(P=\dfrac{3n+2}{n-1}=\dfrac{3\left(n-1\right)+5}{n-1}=3+\dfrac{5}{n-1}\)
Để \(P\in Z\) thì \(5⋮n-1\)
\(\Rightarrow n-1\inƯ\left(5\right)\)
mà \(Ư\left(5\right)=\left\{\pm1;\pm5\right\}\)
\(\Rightarrow n-1\in\left\{\pm1;\pm5\right\}\)
\(\Rightarrow n\in\left\{2;0;6;-4\right\}\)
Để \(P\) là số nguyên
\(\Leftrightarrow3n+2⋮n-1\)
\(\Leftrightarrow3\left(n-1\right)+5⋮n-1\)
\(\Leftrightarrow5⋮n-1\) Do \(3\left(n-1\right)⋮n-1\)
\(\Leftrightarrow n-1\inƯ\left(5\right)=\left\{1;-1;5;-5\right\}\)
\(\Leftrightarrow n\in\left\{2;0;6;-4\right\}\)
Vậy \(n\in\left\{2;0;6;-4\right\}\) thì P là số nguyên.