cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A058291 Continued fraction for 2 Pi.

Original entry on oeis.org

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

Views

Author

Robert G. Wilson v, Dec 07 2000

Keywords

Comments

A001203 is the continued fraction for Pi.

Examples

			6.283185307179586476925286766... = 6 + 1/(3 + 1/(1 + 1/(1 + 1/(7 + ...)))). - _Harry J. Smith_, May 31 2009
		

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