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!)
A040955 Continued fraction for sqrt(987). 1
31, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2, 62, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=(1/6)*{-73*(n mod 4)+17*[(n+1) mod 4]+17*[(n+2) mod 4]+107*[(n+3) mod 4]}-31*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 03 2009]

MAPLE

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

CROSSREFS

Sequence in context: A040952 A040951 A040950 * A040954 A040956 A051315

Adjacent sequences:  A040952 A040953 A040954 * A040956 A040957 A040958

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 June 18 22:37 EDT 2021. Contains 345125 sequences. (Running on oeis4.)