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

 

Logo


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

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=(1/6)*{-31*(n mod 6)+3*[(n+1) mod 6]+14*[(n+2) mod 6]-6*[(n+3) mod 6]+5*[(n+4) mod 6]+39*[(n+5) mod 6]}-19*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 28 2009]

MAPLE

with(numtheory): Digits := 300: convert(evalf(sqrt(372)), confrac);

MATHEMATICA

ContinuedFraction[Sqrt[372], 100] (* or *) PadRight[{19}, 100, {38, 3, 2, 12, 2, 3}] (* Harvey P. Dale, Aug 18 2012 *)

CROSSREFS

Sequence in context: A040359 A040360 A040351 * A040353 A128160 A317319

Adjacent sequences:  A040349 A040350 A040351 * A040353 A040354 A040355

KEYWORD

nonn,cofr,easy

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 August 22 20:43 EDT 2019. Contains 326198 sequences. (Running on oeis4.)