|
Search: id:A010135
|
|
|
| A010135 |
|
Continued fraction for sqrt(45). |
|
+0 3
|
|
| 6, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 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/18)*{-29*(n mod 6)+7*[(n+1) mod 6]+4*[(n+2) mod 6]+4*[(n+3) mod 6]+[(n+4) mod 6]+37*[(n+5) mod 6]}-6*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Jul 23 2009]
|
|
EXAMPLE
|
6.708203932499369089227521006... = 6 + 1/(1 + 1/(2 + 1/(2 + 1/(2 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 06 2009]
|
|
PROGRAM
|
(PARI) { allocatemem(932245000); default(realprecision, 17000); x=contfrac(sqrt(45)); for (n=0, 20000, write("b010135.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 06 2009]
|
|
CROSSREFS
|
Cf. A010499 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 06 2009]
Sequence in context: A085552 A002950 A121090 this_sequence A153736 A165070 A164809
Adjacent sequences: A010132 A010133 A010134 this_sequence A010136 A010137 A010138
|
|
KEYWORD
|
nonn,cofr
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
Search completed in 0.002 seconds
|