|
|
A163262
|
|
Denominators of fractions in the approximation of the square root of 2 by means of: f(n) = 3*f(n-1)/(f(n-1)^2+1); with f(1)= 1
|
|
1
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
For root of c: f(n) = (1+c)*f(n-1)/(f(n-1)^2+1).
|
|
LINKS
|
|
|
MAPLE
|
f[1] := 1: for n from 2 to 10 do f[n] := 3*f[n-1]/(1+f[n-1]^2) end do: seq(denom(f[n]), n = 1 .. 8); # Emeric Deutsch, Jul 29 2009
|
|
PROG
|
(PARI) f(n) = if (n==1, 1, 3*f(n-1)/(f(n-1)^2+1));
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,frac
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|