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

 

Logo


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

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=(1/112)*{-477*(n mod 8)+41*[(n+1) mod 8]-[(n+2) mod 8]+69*[(n+3) mod 8]-15*[(n+4) mod 8]+55*[(n+5) mod 8]+13*[(n+6) mod 8]+531*[(n+7) mod 8]}-19*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 29 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[378], 120] (* or *) PadRight[{19}, 120, {38, 2, 3, 1, 4, 1, 3, 2}] (* Harvey P. Dale, Jun 25 2018 *)

CROSSREFS

Sequence in context: A166032 A040354 A040357 * A051312 A256635 A040359

Adjacent sequences:  A040355 A040356 A040357 * A040359 A040360 A040361

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 November 18 01:41 EST 2019. Contains 329242 sequences. (Running on oeis4.)