OFFSET
0,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..20000
S. Lang and H. Trotter, Continued fractions for some algebraic numbers, J. Reine Angew. Math. 255 (1972), 112-134.
S. Lang and H. Trotter, Continued fractions for some algebraic numbers, J. Reine Angew. Math. 255 (1972), 112-134. [Annotated scanned copy]
G. Xiao, Contfrac
EXAMPLE
1.16730397826141868425604589... = 1 + 1/(5 + 1/(1 + 1/(42 + 1/(1 + ...)))).
PROG
(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
CROSSREFS
KEYWORD
nonn,cofr
AUTHOR
STATUS
approved