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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040963 Continued fraction for sqrt(995). 1
31, 1, 1, 5, 4, 3, 12, 3, 4, 5, 1, 1, 62, 1, 1, 5, 4, 3, 12, 3, 4, 5, 1, 1, 62, 1, 1, 5, 4, 3, 12, 3, 4, 5, 1, 1, 62, 1, 1, 5, 4, 3, 12, 3, 4, 5, 1, 1, 62, 1, 1, 5, 4, 3, 12, 3, 4, 5, 1, 1, 62, 1, 1, 5, 4, 3, 12, 3, 4, 5, 1, 1, 62, 1, 1, 5, 4, 3, 12, 3, 4, 5, 1, 1, 62, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

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,0,0,1).

FORMULA

a(n)=(1/132)*{-654*(n mod 12)+17*[(n+1) mod 12]+61*[(n+2) mod 12]+6*[(n+3) mod 12]+6*[(n+4) mod 12]+116*[(n+5) mod 12]-82*[(n+6) mod 12]+28*[(n+7) mod 12]+28*[(n+8) mod 12]-27*[(n+9) mod 12]+17*[(n+10) mod 12]+688*[(n+11) mod 12]}-31*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 03 2009]

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

MAPLE

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

CROSSREFS

Sequence in context: A040965 A040966 A040964 * A040962 A040961 A300656

Adjacent sequences:  A040960 A040961 A040962 * A040964 A040965 A040966

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.)