I want to understand a section in the following proof, let $a_1=1$ and $$a_{n+1}=\sqrt{a_1+a_2+\cdots+a_n},$$ then, $$\lim\limits_{n\to\infty}\frac{a_n}{n}=\frac{1}{2}.$$
Here is my question: the above question was solved in Let $a_{n+1}=\sqrt{a_1+a_2+\cdots+a_n}$ .Prove that $ \lim\limits_{n \rightarrow \infty} \frac{a_n}{n}=\frac{1}{2}$, by taking that $a_{n+1}^2=a_{n}^2+a_n.$ Please, can you show me how $a_{n+1}^2=a_{n}^2+a_n$ was gotten?
Best Answer
Note that $$a_{n+1}^2 = a_1+\ldots +a_{n-1} + a_n= \left(\sqrt{a_1+\ldots +a_{n-1}}\right)^2 + a_n= a_n^2+a_n$$