Ta có: \(A=\dfrac{3x-2}{x+2}=\dfrac{3\left(x+2\right)-4}{x+2}=\dfrac{3\left(x+2\right)}{x+2}-\dfrac{4}{x+2}=3-\dfrac{4}{x+2}\)
Để A mang giá trị nguyên khi
\(4⋮x+2\) hay \(x+2\inƯ\left(4\right)\in\left\{\pm1;\pm2;\pm4\right\}\)
Do đó:
\(x+2=-1\Rightarrow x=\left(-1\right)-2\Rightarrow x=-3\)
\(x+2=1\Rightarrow x=1-2\Rightarrow x=-1\)
\(x+2=-2\Rightarrow x=\left(-2\right)-2\Rightarrow x=-4\)
\(x+2=2\Rightarrow x=2-2\Rightarrow x=0\)
\(x+2=-4\Rightarrow x=\left(-4\right)-2\Rightarrow x=-6\)
\(x+2=4\Rightarrow x=4-2\Rightarrow x=2\)
Vậy để A là số nguyên khi \(x\in\left\{-3;-1;-4;0;-6;2\right\}\)