|
|
A010128
|
|
Continued fraction for sqrt(29).
|
|
4
|
|
|
5, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10, 2, 1, 1, 2, 10
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
EXAMPLE
|
5.385164807134504031250710491... = 5 + 1/(2 + 1/(1 + 1/(1 + 1/(2 + ...)))). - Harry J. Smith, Jun 04 2009
|
|
MATHEMATICA
|
PadRight[{5}, 120, {10, 2, 1, 1, 2}] (* Harvey P. Dale, Apr 18 2017 *)
|
|
PROG
|
(PARI) { allocatemem(932245000); default(realprecision, 18000); x=contfrac(sqrt(29)); for (n=0, 20000, write("b010128.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 04 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|