|
Search: id:A010129
|
|
|
| A010129 |
|
Continued fraction for sqrt(31). |
|
+0 2
|
|
| 5, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3, 1, 1, 10, 1, 1, 3, 5, 3
(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
|
5.567764362830021922119471298... = 5 + 1/(1 + 1/(1 + 1/(3 + 1/(5 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 04 2009]
a(n)=(1/224)*{-227*(n mod 8)+25*[(n+1) mod 8]+81*[(n+2) mod 8]+81*[(n+3) mod 8]-31*[(n+4) mod 8]-31*[(n+5) mod 8]+25*[(n+6) mod 8]+277*[(n+7) mod 8]}-5*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Jul 23 2009]
|
|
PROGRAM
|
(PARI) { allocatemem(932245000); default(realprecision, 18000); x=contfrac(sqrt(31)); for (n=0, 20000, write("b010129.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 04 2009]
|
|
CROSSREFS
|
Cf. A010486 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 04 2009]
Sequence in context: A130511 A011396 A036791 this_sequence A073050 A154740 A154567
Adjacent sequences: A010126 A010127 A010128 this_sequence A010130 A010131 A010132
|
|
KEYWORD
|
nonn,cofr
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
Search completed in 0.002 seconds
|