TITLE: proof for the Ramanujan's formula ?
QUESTION [7 upvotes]: I found this formula in a textbook in which the proof to the formula was not given
Ramanujam's formula
$$\sqrt{1 +n\sqrt{1 +(n+1)\sqrt{1 + (n+2)\sqrt{1 + (n+3)\sqrt{1 +....\infty}}}}} = n+1$$
Its a great equation andhow do you prove this. its a bit difficult for me and tried different methods to solve this. Iam an undergraduate and I want you to elaborate the method of solving if its complex.

REPLY [2 votes]: $x>-1\iff \underline{x+1}=\sqrt{(x+1)^2}=\sqrt{1+2x+x^2}=\sqrt{1+x\cdot(\underline{\underline{x+2}})}$
$\begin{align}x>-2\iff \underline{\underline{x+2}}=\sqrt{(x+2)^2}=\sqrt{[(x+1)+1]^2}&=\sqrt{1+2(x+1)+(x+1)^2}=\\&=\sqrt{1+(x+1)(\underline{\underline{\underline{x+3}}})}\end{align}$
$\to x+1=\sqrt{1+x\sqrt{1+(x+1)(\underline{\underline{x+3}})}}\quad-\quad$ Can you see where this is going ? :-)