Ta có:
\(A=\dfrac{\sqrt{x}+1}{\sqrt{x}-3}=\dfrac{\sqrt{x}-3+4}{\sqrt{x}-3}\)
\(=\dfrac{\sqrt{x}-3}{\sqrt{x}-3}+\dfrac{4}{\sqrt{x}-3}=1+\dfrac{4}{\sqrt{x}-3}\)
Để \(A\in Z\Leftrightarrow1+\dfrac{4}{\sqrt{x}-3}\in Z\Leftrightarrow\dfrac{4}{\sqrt{x}-3}\in Z\)
\(\Leftrightarrow4⋮\sqrt{x}-3\Rightarrow\sqrt{x}-3\inƯ\left(4\right)\)
Mà \(Ư\left(4\right)=\left\{\pm1;\pm2;\pm4\right\}\)
\(\Rightarrow\) Ta có bảng sau:
| \(\sqrt{x}-3\) | \(1\) | \(-1\) | \(2\) | \(-2\) | \(4\) | \(-4\) |
| \(\sqrt{x}\) | \(4\) | \(2\) | \(5\) | \(1\) | \(7\) | \(-1\) (loại) |
| \(x\) | \(16\) | \(4\) | \(25\) | \(1\) | \(49\) | loại |
Vậy \(x\in\left\{1;4;16;25;49\right\}\) thì \(A\) có giá trị là số nguyên