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.

A039922 Continued fraction for root of x^5 - x - 1.

Original entry on oeis.org

1, 5, 1, 42, 1, 3, 24, 2, 2, 1, 16, 1, 11, 1, 1, 2, 31, 1, 12, 5, 1, 7, 11, 1, 4, 1, 4, 2, 2, 3, 4, 2, 1, 1, 11, 1, 41, 12, 1, 8, 1, 1, 1, 1, 1, 9, 2, 1, 5, 4, 1, 25, 4, 6, 11, 1, 4, 1, 6, 1, 1, 1, 2, 2, 2, 4, 11, 1, 4, 1, 3, 2, 8, 1, 3, 3, 6, 21, 11, 2, 1, 1, 10, 2, 1, 3
Offset: 0

Views

Author

Keywords

Examples

			1.16730397826141868425604589... = 1 + 1/(5 + 1/(1 + 1/(42 + 1/(1 + ...)))).
		

Crossrefs

Cf. A160155 Decimal expansion.

Programs

  • PARI
    { allocatemem(932245000); default(realprecision, 21000); x=NULL; p=x^5 - x - 1; rs=polroots(p); r=real(rs[1]); c=contfrac(r); for (n=1, 20001, write("b039922.txt", n-1, " ", c[n])); } \\ Harry J. Smith, May 03 2009
    
  • PARI
    contfrac(polrootsreal(x^5-x-1)[1]) \\ Charles R Greathouse IV, Apr 14 2014