|
| |
|
|
A010129
|
|
Continued fraction for sqrt(31).
|
|
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; refs; listen; history; 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
| 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 (paoloplava(AT)gmail.com), Jul 23 2009]
|
|
|
MATHEMATICA
| ContinuedFraction[Sqrt[31], 300] (*From Vladimir Joseph Stephan Orlovsky, Mar 06 2011*)
|
|
|
PROG
| (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: A011396 A036791 A180136 * A073050 A154740 A179261
Adjacent sequences: A010126 A010127 A010128 * A010130 A010131 A010132
|
|
|
KEYWORD
| nonn,cofr
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|