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!)
A040954 Continued fraction for sqrt(986). 2
31, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 2, 62, 2, 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,1).

FORMULA

a(n)=(1/3)*{-38*(n mod 3)+22*[(n+1) mod 3]+82*[(n+2) mod 3]}-31*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 03 2009]

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

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[986], 90] (* Harvey P. Dale, Jul 21 2011 *)

CROSSREFS

Sequence in context: A040951 A040950 A040955 * A040956 A051315 A040957

Adjacent sequences:  A040951 A040952 A040953 * A040955 A040956 A040957

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 10:32 EDT 2021. Contains 345098 sequences. (Running on oeis4.)