What is the value of #S=sqrt(6+2sqrt(7+3sqrt(8+4sqrt(9+cdots))))#?
First, we can arrange this relationship in the form
Now we will present a simple guess to find the form of
For more details I recommend the lecture of the marvelous work of Ramanujan. Himself submitted the present exercise in the Journal of the Indian Mathematical Society and the solution was subsequently furnished also. The general theory of this type of recurrence formulas appears in Ramanujan's Notebooks - Part II page 108 in a book published by Springer Verlag and edited by Bruce C. Berndt.
We know that
so at this point we propose
Substituting into the general recurrence equation as
and now grouping coefficients,
we get at