|
| |
|
|
A040030
|
|
Continued fraction for sqrt(37).
|
|
2
| |
|
|
6, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12
(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
| a(n)=12-6*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Jun 09 2009]
|
|
|
EXAMPLE
| 6.08276253029821968899968... = 6 + 1/(12 + 1/(12 + 1/(12 + 1/(12 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 04 2009]
|
|
|
MAPLE
| Digits := 100: convert(evalf(sqrt(N)), confrac, 90, 'cvgts'):
|
|
|
MATHEMATICA
| ContinuedFraction[Sqrt[37], 300] (*From Vladimir Joseph Stephan Orlovsky, Mar 06 2011*)
|
|
|
PROG
| (PARI) { allocatemem(932245000); default(realprecision, 44000); x=contfrac(sqrt(37)); for (n=0, 20000, write("b040030.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 04 2009]
|
|
|
CROSSREFS
| Cf. A010491 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 04 2009]
Sequence in context: A102809 A060479 A028998 * A135462 A156386 A205972
Adjacent sequences: A040027 A040028 A040029 * A040031 A040032 A040033
|
|
|
KEYWORD
| nonn,cofr,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|