|
Search: id:A010122
|
|
|
| A010122 |
|
Continued fraction for sqrt(13). |
|
+0 2
|
|
| 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; 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/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 (ppl(AT)spl.at), 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]
|
|
PROGRAM
|
(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 this_sequence A058663 A124371 A147989
Adjacent sequences: A010119 A010120 A010121 this_sequence A010123 A010124 A010125
|
|
KEYWORD
|
nonn,cofr
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
Search completed in 0.002 seconds
|