ĐK: x\(\ge0\)
\(Tacó: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}\)
Ta thấy để A là số nguyên thì \(\dfrac{4}{\sqrt{x}-3}nguyên\\ =>\sqrt{x}-3\inƯ\left(4\right)\)
\(=>\left\{{}\begin{matrix}\sqrt{x}-3=\pm1< =>x=16;x=4\\\sqrt{x}-3=\pm2< =>x=25;x=1\\\sqrt{x}-3=\pm4< =>x=49\\\end{matrix}\right.\)
Vậy S=....