OFFSET
1,1
REFERENCES
A. Ya. Khinchin, Continued Fractions, Dover Publications, 1997.
M. Krizek, F. Luca, L. Somer, 17 Lectures on Fermat Numbers: From Number Theory to Geometry, Springer, 2011.
LINKS
FORMULA
a(0).a(1)a(2)a(3)a(4)a(5)... = F_0 + 1/(F_1 + 1/(F_2 + 1/(F_3 + 1/(F_4 + ...)))) = [F_0,F_1,F_2,F_3,F_4,...] where a(0).a(1)a(2)a(3)a(4)... is a decimal representation of the continued fraction [F_0,F_1,F_2,F_3,F_4,...] where F_0, F_1,... are Fermat numbers.
EXAMPLE
3.19767494... = 3 + 1/(5 + 1/(17 + 1/(257 + 1/(65537 + ...))))
MATHEMATICA
FromContinuedFraction[{3, 5, 17, 257, 65537, 4294967297, 18446744073709551617}] (* for better precision, enter next Fermat numbers *)
PROG
(PARI) s=3; forstep(n=log(default(realprecision)*log(10)\log(2))\log(2), 1, -1, s=1/(2.^(2^n)+s+1)); s \\ Charles R Greathouse IV, Mar 21 2012
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Algirdas Javtokas, Mar 21 2012
EXTENSIONS
Offset changed by Bruno Berselli, May 14 2012
STATUS
approved