login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010211 Continued fraction for sqrt(162). 1
12, 1, 2, 1, 2, 12, 2, 1, 2, 1, 24, 1, 2, 1, 2, 12, 2, 1, 2, 1, 24, 1, 2, 1, 2, 12, 2, 1, 2, 1, 24, 1, 2, 1, 2, 12, 2, 1, 2, 1, 24, 1, 2, 1, 2, 12, 2, 1, 2, 1, 24, 1, 2, 1, 2, 12, 2, 1, 2, 1, 24, 1, 2, 1, 2, 12, 2, 1, 2, 1, 24, 1, 2, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..74.

G. Xiao, Contfrac

Index entries for continued fractions for constants

Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 1).

FORMULA

a(n) = (1/150)*(-329*(n mod 10) + 31*((n+1) mod 10) + ((n+2) mod 10) + 31*((n+3) mod 10) + 166*((n+4) mod 10) - 134*((n+5) mod 10) + ((n+6) mod 10) + 31*((n+7) mod 10) + ((n+8) mod 10) + 361*((n+9) mod 10)) - 12*(C(2*n,n) mod 2), with n >= 0. - Paolo P. Lava, Jul 28 2009

MATHEMATICA

ContinuedFraction[Sqrt[162], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 23 2011 *)

PadRight[{12}, 120, {24, 1, 2, 1, 2, 12, 2, 1, 2, 1}] (* Harvey P. Dale, Sep 26 2017 *)

CROSSREFS

Sequence in context: A015129 A172376 A289673 * A066786 A109015 A010210

Adjacent sequences:  A010208 A010209 A010210 * A010212 A010213 A010214

KEYWORD

nonn,cofr

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 10:25 EST 2020. Contains 331144 sequences. (Running on oeis4.)