un+1 = 2un + (2n-1)²un-1,

whence

un+1 - (2n + 1)un = -(2n - 1){un - (2n - 1)un-1},

and we readily find that

pn = 1 - 1 + 1 - 1 + ... ± 1,
qn3572n + 1

whence the value of the fraction taken to infinity is ¼π.

It is always possible to find the value of the nth convergent to a recurring continued fraction. If r be the number of quotients in the recurring cycle, we can by writing down the relations connecting the successive p’s and q’s obtain a linear relation connecting

pnr+m, p(n-1)r+m, p(n-2)r+m

in which the coefficients are all constants. Or we may proceed as follows. (We need not consider a fraction with a non-recurring part). Let the fraction be

a1 a2 ar a1
b1 + b2 + ... + br + b1 + ...