

A058291


Continued fraction for 2 Pi.


2



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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,1


COMMENTS

A001203 is the continued fraction for Pi.


LINKS

Harry J. Smith, Table of n, a(n) for n = 0..20000
G. Xiao, Contfrac
Index entries for continued fractions for constants


EXAMPLE

6.283185307179586476925286766... = 6 + 1/(3 + 1/(1 + 1/(1 + 1/(7 + ...)))).  Harry J. Smith, May 31 2009


MATHEMATICA

ContinuedFraction[ 2Pi, 100 ]


PROG

(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


CROSSREFS

Cf. A019692 Decimal expansion.  Harry J. Smith, May 31 2009
Sequence in context: A204420 A102410 A105123 * A132615 A238260 A021617
Adjacent sequences: A058288 A058289 A058290 * A058292 A058293 A058294


KEYWORD

cofr,nonn,easy


AUTHOR

Robert G. Wilson v, Dec 07 2000


EXTENSIONS

More terms from Jason Earls (zevi_35711(AT)yahoo.com), Jul 24 2001


STATUS

approved



