a function $f$ satisfies the following conditions:
$\begin{align*} &f(1)=1\\ &f(n)=f(n-1)+2\sqrt{f(n-1)}+1\quad\text{for integers}\quad n\ge 2 \end{align*}$
Find a formula that might be true for all integers $n\ge1$. Then prove using mathematical induction that it is indeed correct.
I found that the formula is $f(n)=n^2$, but I'm stuck on how to prove it... can anyone help me please?
Thanks a lot!