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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040938 Continued fraction for sqrt(970). 2
31, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1, 6, 62, 6, 1, 9, 1, 1, 9, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=(1/27)*{-160*(n mod 9)-7*[(n+1) mod 9]+32*[(n+2) mod 9]-16*[(n+3) mod 9]+8*[(n+4) mod 9]+32*[(n+5) mod 9]-16*[(n+6) mod 9]+23*[(n+7) mod 9]+176*[(n+8) mod 9]}-31*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 03 2009]

G.f.: -(x+1)*(31*x^8-25*x^7+26*x^6-17*x^5+18*x^4-17*x^3+26*x^2-25*x+31)/((x-1)*(x^2+x+1)*(x^6+x^3+1)). [Colin Barker, Aug 11 2012]

MAPLE

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

CROSSREFS

Sequence in context: A040941 A213917 A191548 * A040939 A040937 A187810

Adjacent sequences:  A040935 A040936 A040937 * A040939 A040940 A040941

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 21 04:59 EDT 2019. Contains 321364 sequences. (Running on oeis4.)