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

 

Logo


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

FORMULA

a(n)=(1/450)*{-2551*(n mod 10)+14*[(n+1) mod 10]+104*[(n+2) mod 10]+104*[(n+3) mod 10]+1409*[(n+4) mod 10]-1201*[(n+5) mod 10]+104*[(n+6) mod 10]+104*[(n+7) mod 10]+194*[(n+8) mod 10]+2759*[(n+9) mod 10]}-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(978)), confrac);

MATHEMATICA

ContinuedFraction[Sqrt[978], 120] (* or *) PadRight[{31}, 120, {62, 3, 1, 1, 1, 30, 1, 1, 1, 3}] (* Harvey P. Dale, Feb 15 2016 *)

CROSSREFS

Sequence in context: A040958 A040959 A040960 * A040945 A040947 A040948

Adjacent sequences:  A040943 A040944 A040945 * A040947 A040948 A040949

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 February 23 05:58 EST 2019. Contains 320411 sequences. (Running on oeis4.)