A058293 Continued fraction for square root of 2Pi.
2, 1, 1, 37, 4, 1, 1, 1, 1, 9, 1, 1, 2, 8, 6, 1, 2, 2, 1, 3, 1, 4, 1, 1, 32, 1, 1, 5, 1, 1, 55, 6, 1, 1, 3, 1, 3, 3, 1, 3, 1, 1, 3, 4, 2, 1, 5, 1, 1, 2, 1, 95, 3, 1, 8, 1, 1, 1, 3, 22, 1, 1, 2, 1, 1, 7, 4, 5, 1, 1, 1, 204, 6, 2, 16, 1, 4, 1, 21, 1, 1, 1, 93, 1, 1, 71, 1, 2, 1, 1, 1, 1, 1, 1, 25, 1, 2, 5
Offset: 0
Examples
2.50662827463100050241576528... = 2 + 1/(1 + 1/(1 + 1/(37 + 1/(4 + ...)))). - _Harry J. Smith_, May 31 2009
Links
- Harry J. Smith, Table of n, a(n) for n = 0..20000
- G. Xiao, Contfrac
- Index entries for continued fractions for constants
Crossrefs
Cf. A019727 Decimal expansion. - Harry J. Smith, May 31 2009
Programs
-
Mathematica
ContinuedFraction[ Sqrt[2Pi], 100 ]
-
PARI
contfrac(sqrt(2*Pi))
-
PARI
{ allocatemem(932245000); default(realprecision, 21000); x=contfrac(sqrt(2*Pi)); for (n=0, 20000, write("b058293.txt", n, " ", x[n+1])); } \\ Harry J. Smith, May 31 2009
Extensions
More terms from Jason Earls, Jul 03 2001