Let $x_n \in[0,1)$ s.t $x_n - \sqrt{n}\in \mathbb{Z}$. Prove that $X=\{x_n | n\in \mathbb{N}\}$ is dense in $[0,1]$.
It it suffices to prove that $\overline{X}=[0,1].$ I was trying to use the fact that $p+q\sqrt{2}$ $(p,q \in \mathbb{N})$ is dense in $\mathbb{R}$. So I can choose $n=2q^2$ and $x_n=p+q\sqrt{2}$ close enought of $1$. Hence, $x_n=p+q\sqrt{2} - q\sqrt{2} = p \in \mathbb{Z}$.
I am pretty sure that this argument is invalid but I feel that the idea can be useful somehow.