\(A=\dfrac{2x+5}{x+1}\left(x\ne-1\right)\)
Để A nguyên khi và chỉ khi :
\(2x+5⋮x+1\)
\(\Rightarrow2x+5-2\left(x+1\right)⋮x+1\)
\(\Rightarrow2x+5-2x-2⋮x+1\)
\(\Rightarrow3⋮x+1\)
\(\Rightarrow x+1\in\left\{-1;1;-3;3\right\}\)
\(\Rightarrow x\in\left\{-2;0;-4;2\right\}\left(x\in Z;x\ne-1\right)\)