What is the value of #S=sqrt(6+2sqrt(7+3sqrt(8+4sqrt(9+cdots))))#?

1 Answer
Jun 19, 2017

#4#

Explanation:

First, we can arrange this relationship in the form

#f(x)=sqrt(x+4+xsqrt(x+5+(x+1)sqrt(x+6+(x+2)sqrt(...))))#

Now we will present a simple guess to find the form of #f(x)#

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

#f(x) lt f(x+1) lt f(x+2) lt cdots lt f(x+n)# and also that

#f(0) = sqrt(4)=2#

so at this point we propose

#f(x) = c_0 + c_1 x#

Substituting into the general recurrence equation as

#f(x) = sqrt[x + 4 + x f(x + 1)]# or

#(c_0 + c_1 x)^2=x + 4 + x(c_0+c_1(x+1))#

and now grouping coefficients,

#x^2(c_1^2-c_0^2)+(2 c_0 c_1-1 - c_0 - c_1 )x+(c_0^2-4)=0#

Solving now

#{(c_1^2-c_0^2=0),(2 c_0 c_1-1 - c_0 - c_1 =0),(c_0^2-4=0):}#

we get at #c_0=2# and #c_1 = 1#

#f(x) = 2+x#

so finally

#f(2) = 4#