\(A=\dfrac{x+2}{x+1}=1+\dfrac{1}{x+1}\)
Để A nguyên :
\(x+1\inƯ\left(1\right)\\ Ư\left(1\right)=\left\{1;-1\right\}\\ \Rightarrow\left\{{}\begin{matrix}x+1=1\\x+1=-1\end{matrix}\right.\\ \Rightarrow\left\{{}\begin{matrix}x=0\\x=-2\end{matrix}\right.\)