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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040950 Continued fraction for sqrt(982). 1
31, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1, 30, 1, 2, 62, 2, 1 (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, 0, 0, 0, 1).

FORMULA

a(n)=(1/90)*{-802*(n mod 6)+83*[(n+1) mod 6]+533*[(n+2) mod 6]-337*[(n+3) mod 6]+113*[(n+4) mod 6]+998*[(n+5) mod 6]}-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(982)), confrac);

MATHEMATICA

ContinuedFraction[Sqrt[982], 120] (* or *) PadRight[{31}, 120, {62, 2, 1, 30, 1, 2}] (* Harvey P. Dale, Dec 21 2018 *)

CROSSREFS

Sequence in context: A040953 A040952 A040951 * A040955 A040954 A040956

Adjacent sequences:  A040947 A040948 A040949 * A040951 A040952 A040953

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 March 19 13:08 EDT 2019. Contains 321330 sequences. (Running on oeis4.)