login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040953 Continued fraction for sqrt(985). 2
31, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2, 62, 2, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n)=(1/25)*{-266*(n mod 5)+29*[(n+1) mod 5]+34*[(n+2) mod 5]+39*[(n+3) mod 5]+334*[(n+4) mod 5]}-31*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 03 2009]
G.f.: -(x+1)*(31*x^4-29*x^3+30*x^2-29*x+31)/((x-1)*(x^4+x^3+x^2+x+1)). [Colin Barker, Aug 11 2012]
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(985)), confrac);
MATHEMATICA
ContinuedFraction[Sqrt[985], 100] (* or *) PadRight[{31}, 100, {62, 2, 1, 1, 2}] (* Harvey P. Dale, Sep 06 2019 *)
CROSSREFS
Sequence in context: A172302 A103474 A047687 * A040952 A040951 A040950
KEYWORD
nonn,cofr,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 9 12:31 EST 2023. Contains 367690 sequences. (Running on oeis4.)