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

 

Logo


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

0,1

LINKS

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

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)*(-331*(n mod 10) + 29*((n+1) mod 10) + 44*((n+2) mod 10) - 31*((n+3) mod 10) + 29*((n+4) mod 10) - ((n+5) mod 10) + 59*((n+6) mod 10) - 16*((n+7) mod 10) - ((n+8) mod 10) + 359*((n+9) mod 10)) - 12*(C(2*n,n) mod 2), with n >= 0. - Paolo P. Lava, Jul 28 2009

MATHEMATICA

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

PadRight[{12}, 120, {24, 1, 2, 4, 1, 2, 1, 4, 2, 1}] (* Harvey P. Dale, Nov 02 2016 *)

CROSSREFS

Sequence in context: A010211 A066786 A109015 * A229193 A010212 A270004

Adjacent sequences:  A010207 A010208 A010209 * A010211 A010212 A010213

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 February 22 18:24 EST 2020. Contains 332148 sequences. (Running on oeis4.)