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

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=(1/25)*{-266*(n mod 5)+29*[(n+1) mod 5]+34*[(n+2) mod 5]+39*[(n+3) mod 5]+334*[(n+4) mod 5]}-31*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 03 2009]

G.f.: -(x+1)*(31*x^4-29*x^3+30*x^2-29*x+31)/((x-1)*(x^4+x^3+x^2+x+1)). [Colin Barker, Aug 11 2012]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[985], 100] (* or *) PadRight[{31}, 100, {62, 2, 1, 1, 2}] (* Harvey P. Dale, Sep 06 2019 *)

CROSSREFS

Sequence in context: A172302 A103474 A047687 * A040952 A040951 A040950

Adjacent sequences:  A040950 A040951 A040952 * A040954 A040955 A040956

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 22 21:29 EDT 2021. Contains 345393 sequences. (Running on oeis4.)