D là số nguyên khi \(\sqrt{x}\) - 1 là số nguyên .
\(\Leftrightarrow\sqrt{x}-1\inƯ_3\)
\(\Leftrightarrow\sqrt{x}-1\in\left\{1;3;-1;-3\right\}\)
\(\Leftrightarrow\sqrt{x}\in\left\{2;4;0;-2\right\}\)
\(\Leftrightarrow\sqrt{x}\in\left\{\sqrt{2};2;0\right\}\)
\(\Leftrightarrow\sqrt{x}\in\left\{;2;0\right\}\)
Vậy x = 2 ; x = 0