|
| |
|
|
A040080
|
|
Continued fraction for sqrt(90).
|
|
2
| |
|
|
9, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2, 18, 2
(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)=10+8*(-1)^n]-9*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Jun 10 2009]
|
|
|
EXAMPLE
| 9.4868329805051379959966806... = 9 + 1/(2 + 1/(18 + 1/(2 + 1/(18 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 11 2009]
|
|
|
MAPLE
| Digits := 100: convert(evalf(sqrt(N)), confrac, 90, 'cvgts'):
|
|
|
MATHEMATICA
| ContinuedFraction[Sqrt[90], 300] (*From Vladimir Joseph Stephan Orlovsky, Mar 10 2011*)
|
|
|
PROG
| (PARI) { allocatemem(932245000); default(realprecision, 32000); x=contfrac(sqrt(90)); for (n=0, 20000, write("b040080.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 11 2009]
|
|
|
CROSSREFS
| Cf. A010541 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 11 2009]
Sequence in context: A146492 A090298 A094581 * A098289 A152020 A055516
Adjacent sequences: A040077 A040078 A040079 * A040081 A040082 A040083
|
|
|
KEYWORD
| nonn,cofr,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|