|
| |
|
|
A010165
|
|
Continued fraction for sqrt(94).
|
|
2
|
|
|
|
9, 1, 2, 3, 1, 1, 5, 1, 8, 1, 5, 1, 1, 3, 2, 1, 18, 1, 2, 3, 1, 1, 5, 1, 8, 1, 5, 1, 1, 3, 2, 1, 18, 1, 2, 3, 1, 1, 5, 1, 8, 1, 5, 1, 1, 3, 2, 1, 18, 1, 2, 3, 1, 1, 5, 1, 8, 1, 5, 1, 1, 3, 2, 1, 18, 1, 2, 3, 1, 1, 5, 1, 8, 1, 5, 1, 1, 3, 2, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,1
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=0,...,20000
G. Xiao, Contfrac
Index entries for continued fractions for constants
|
|
|
FORMULA
|
a(n)=(1/320)*{-331*(n mod 16)+29*[(n+1) mod 16]+29*[(n+2) mod 16]-31*[(n+3) mod 16]+9*[(n+4) mod 16]+89*[(n+5) mod 16]-71*[(n+6) mod 16]+149*[(n+7) mod 16]-131*[(n+8) mod 16]+89*[(n+9) mod 16]-71*[(n+10) mod 16]+9*[(n+11) mod 16]+49*[(n+12) mod 16]-11*[(n+13) mod 16]-11*[(n+14) mod 16]+349*[(n+15) mod 16]}-9*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jul 24 2009]
|
|
|
EXAMPLE
|
9.695359714832658028148881150... = 9 + 1/(1 + 1/(2 + 1/(3 + 1/(1 + ...)))) [From Harry J. Smith, Jun 11 2009]
|
|
|
MATHEMATICA
|
ContinuedFraction[Sqrt[94], 300] (*From Vladimir Joseph Stephan Orlovsky, Mar 10 2011*)
|
|
|
PROG
|
(PARI) { allocatemem(932245000); default(realprecision, 17000); x=contfrac(sqrt(94)); for (n=0, 20000, write("b010165.txt", n, " ", x[n+1])); } [From Harry J. Smith, Jun 11 2009]
|
|
|
CROSSREFS
|
Cf. A010545 Decimal expansion. [From Harry J. Smith, Jun 11 2009]
Sequence in context: A021527 A010166 A186116 * A177273 A176521 A222218
Adjacent sequences: A010162 A010163 A010164 * A010166 A010167 A010168
|
|
|
KEYWORD
|
nonn,cofr
|
|
|
AUTHOR
|
N. J. A. Sloane.
|
|
|
STATUS
|
approved
|
| |
|
|