|
Search: id:A010158
|
|
|
| A010158 |
|
Continued fraction for sqrt(85). |
|
+0 2
|
|
| 9, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4
(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)*{-56*(n mod 5)-[(n+1) mod 5]+14*[(n+2) mod 5]+29*[(n+3) mod 5]+84*[(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.219544457292887310002274281... = 9 + 1/(4 + 1/(1 + 1/(1 + 1/(4 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]
|
|
PROGRAM
|
(PARI) { allocatemem(932245000); default(realprecision, 24000); x=contfrac(sqrt(85)); for (n=0, 20000, write("b010158.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]
|
|
CROSSREFS
|
Cf. A010536 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]
Sequence in context: A021918 A112146 A056897 this_sequence A098454 A154206 A094881
Adjacent sequences: A010155 A010156 A010157 this_sequence A010159 A010160 A010161
|
|
KEYWORD
|
nonn,cofr
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
Search completed in 0.002 seconds
|