|
Search: id:A010161
|
|
|
| A010161 |
|
Continued fraction for sqrt(89). |
|
+0 2
|
|
| 9, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2, 18, 2, 3, 3, 2
(list; graph; listen)
|
|
|
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/25)*{-66*(n mod 5)+19*[(n+1) mod 5]+14*[(n+2) mod 5]+9*[(n+3) mod 5]+94*[(n+4) mod 5]}-9*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Jul 24 2009]
|
|
EXAMPLE
|
9.433981132056603811320660377... = 9 + 1/(2 + 1/(3 + 1/(3 + 1/(2 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]
|
|
PROGRAM
|
(PARI) { allocatemem(932245000); default(realprecision, 25000); x=contfrac(sqrt(89)); for (n=0, 20000, write("b010161.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]
|
|
CROSSREFS
|
Cf. A010540 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]
Sequence in context: A110543 A021056 A132719 this_sequence A104539 A160108 A011344
Adjacent sequences: A010158 A010159 A010160 this_sequence A010162 A010163 A010164
|
|
KEYWORD
|
nonn,cofr
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
Search completed in 0.002 seconds
|