The square of a rational number is always rational, so the square root of an irrational is also necessarily irrational.
Therefore, as you go through the sequence
$$\sqrt n, \sqrt{(n-1)+\sqrt{n}}, \sqrt{(n-2)+\sqrt{(n-1)+\sqrt{n}}}, \ldots, A_n$$
once you hit even one irrational number, $A_n$ at the far end of the sequence will be irrational too.
If $n$ is not a perfect square, this makes $A_n$ irrational right away.
On the other hand, if $n$ is a perfect square, $n=k^2$, then the second element in the computation is $\sqrt{k^2+k-1}$, which is strictly between $k$ and $k+1$ and therefore irrational (unless $k=1$).
[title](URL)
⇒ title – MJD May 11 '17 at 17:58