\(A=\dfrac{\sqrt{x}+1}{\sqrt{x}-1}=\dfrac{\sqrt{x}-1}{\sqrt{x}-1}+\dfrac{2}{\sqrt{x}-1}=1+\dfrac{2}{\sqrt{x}-1}\)
Để \(A\in Z\) thì \(\sqrt{x}-1\inƯ\left(2\right)=\left\{1;-1;2;-2\right\}\)
Mà \(x\in Z,x\ge0,x\ne1\)
\(\Rightarrow x\in\left\{4;0;9\right\}\)
Để A là số nguyên thì \(\sqrt{x}+1⋮\sqrt{x}-1\)
\(\Leftrightarrow2⋮\sqrt{x}-1\)
\(\Leftrightarrow\sqrt{x}-1\in\left\{-1;1;2\right\}\)
\(\Leftrightarrow\sqrt{x}\in\left\{0;2;3\right\}\)
hay \(x\in\left\{0;4;9\right\}\)