Question 169Let $a_1 = 1$, $a_{n+1} = a_n + [\sqrt{a_n}]$. Find all $n$ such that $a_n$ is a perfect square.