|
| |
|
|
A010122
|
|
Continued fraction for sqrt(13).
|
|
5
| |
|
|
3, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6, 1, 1, 1, 1, 6
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| Eventual period is (1, 1, 1, 1, 6) [Zak Seidov, Mar 05 2011]
|
|
|
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/5)*{-4*(n mod 5)+[(n+1) mod 5]+[(n+2) mod 5]+[(n+3) mod 5]+6*[(n+4) mod 5]}-3*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Jun 11 2009]
|
|
|
EXAMPLE
| 3.605551275463989293119221267... = 3 + 1/(1 + 1/(1 + 1/(1 + 1/(1 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 02 2009]
|
|
|
MATHEMATICA
| ContinuedFraction[Sqrt[13], 300] (*From Vladimir Joseph Stephan Orlovsky, Mar 05 2011*)
|
|
|
PROG
| (PARI) { allocatemem(932245000); default(realprecision, 13000); x=contfrac(sqrt(13)); for (n=0, 20000, write("b010122.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 02 2009]
|
|
|
CROSSREFS
| Cf. A010470 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 02 2009]
Sequence in context: A111368 A140750 A028264 * A058663 A124371 A147989
Adjacent sequences: A010119 A010120 A010121 * A010123 A010124 A010125
|
|
|
KEYWORD
| nonn,cofr
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|