A058291 Continued fraction for 2 Pi.
6, 3, 1, 1, 7, 2, 146, 3, 6, 1, 1, 2, 7, 5, 5, 1, 4, 1, 2, 42, 5, 31, 1, 1, 1, 6, 2, 2, 4, 3, 12, 49, 1, 5, 1, 12, 1, 1, 1, 2, 3, 1, 2, 1, 1, 3, 1, 16, 2, 1, 1, 15, 2, 3, 6, 3, 8, 18, 6, 1, 2, 1, 3, 2, 1, 2, 2, 1, 1, 2, 1, 8, 2, 33, 1, 80, 91, 1, 10, 1, 5, 1, 2, 2, 2, 1, 49, 2, 8, 2, 3, 5, 4, 2, 1, 1, 1
Offset: 0
Examples
6.283185307179586476925286766... = 6 + 1/(3 + 1/(1 + 1/(1 + 1/(7 + ...)))). - _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. A019692 Decimal expansion. - Harry J. Smith, May 31 2009
Programs
-
Mathematica
ContinuedFraction[ 2Pi, 100 ]
-
PARI
contfrac(2*Pi)
-
PARI
{ allocatemem(932245000); default(realprecision, 21000); x=contfrac(2*Pi); for (n=0, 20000, write("b058291.txt", n, " ", x[n+1])); } \\ Harry J. Smith, May 31 2009
Extensions
More terms from Jason Earls, Jul 24 2001
Comments