|
Search: id:A010124
|
|
|
| A010124 |
|
Continued fraction for sqrt(19). |
|
+0 2
|
|
| 4, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, 8, 2, 1
(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
A. J. van der Poorten, An introduction to continued fractions
|
|
FORMULA
|
a(n)=(1/90)*{-73*(n mod 6)+2*[(n+1) mod 6]+47*[(n+2) mod 6]-13*[(n+3) mod 6]+32*[(n+4) mod 6]+107*[(n+5) mod 6]}-4*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Jun 11 2009]
|
|
EXAMPLE
|
4.358898943540673552236981983... = 4 + 1/(2 + 1/(1 + 1/(3 + 1/(1 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 03 2009]
|
|
PROGRAM
|
(PARI) { allocatemem(932245000); default(realprecision, 17000); x=contfrac(sqrt(19)); for (n=0, 20000, write("b010124.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 03 2009]
|
|
CROSSREFS
|
Cf. A010475 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 03 2009]
Sequence in context: A016507 A132116 A097525 this_sequence A071406 A010311 A023528
Adjacent sequences: A010121 A010122 A010123 this_sequence A010125 A010126 A010127
|
|
KEYWORD
|
nonn,cofr
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
Search completed in 0.005 seconds
|