login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010135 Continued fraction for sqrt(45). 3
6, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 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)=(1/18)*{-29*(n mod 6)+7*[(n+1) mod 6]+4*[(n+2) mod 6]+4*[(n+3) mod 6]+[(n+4) mod 6]+37*[(n+5) mod 6]}-6*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Jul 23 2009]

EXAMPLE

6.708203932499369089227521006... = 6 + 1/(1 + 1/(2 + 1/(2 + 1/(2 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 06 2009]

MATHEMATICA

ContinuedFraction[Sqrt[45], 300] (*From Vladimir Joseph Stephan Orlovsky, Mar 07 2011*)

PROG

(PARI) { allocatemem(932245000); default(realprecision, 17000); x=contfrac(sqrt(45)); for (n=0, 20000, write("b010135.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 06 2009]

CROSSREFS

Cf. A010499 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 06 2009]

Sequence in context: A085552 A002950 A121090 * A176401 A153736 A165070

Adjacent sequences:  A010132 A010133 A010134 * A010136 A010137 A010138

KEYWORD

nonn,cofr

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 07:10 EST 2012. Contains 205874 sequences.