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!)
A040560 Continued fraction for sqrt(585). 2
24, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5, 48, 5, 2, 1, 4, 1, 2, 5 (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/28)*{-142*(n mod 8)-2*[(n+1) mod 8]+5*[(n+2) mod 8]+19*[(n+3) mod 8]-2*[(n+4) mod 8]+12*[(n+5) mod 8]+19*[(n+6) mod 8]+159*[(n+7) mod 8]}-24*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, May 14 2009]

MAPLE

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

CROSSREFS

Sequence in context: A040563 A184763 A107674 * A040558 A215752 A111803

Adjacent sequences:  A040557 A040558 A040559 * A040561 A040562 A040563

KEYWORD

nonn,cofr,easy,less

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 June 19 23:27 EDT 2021. Contains 345154 sequences. (Running on oeis4.)