login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040477 Continued fraction for sqrt(500). 0
22, 2, 1, 3, 2, 1, 1, 10, 1, 1, 2, 3, 1, 2, 44, 2, 1, 3, 2, 1, 1, 10, 1, 1, 2, 3, 1, 2, 44, 2, 1, 3, 2, 1, 1, 10, 1, 1, 2, 3, 1, 2, 44, 2, 1, 3, 2, 1, 1, 10, 1, 1, 2, 3, 1, 2, 44, 2, 1, 3, 2, 1, 1, 10, 1, 1, 2, 3, 1, 2, 44, 2, 1, 3, 2, 1, 1, 10, 1, 1, 2, 3, 1, 2, 44, 2, 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, 0, 0, 1).

FORMULA

a(n)=(1/1274)*{-3748*(n mod 14)-17*[(n+1) mod 14]+256*[(n+2) mod 14]-17*[(n+3) mod 14]-17*[(n+4) mod 14]+74*[(n+5) mod 14]+893*[(n+6) mod 14]-745*[(n+7) mod 14]+74*[(n+8) mod 14]+165*[(n+9) mod 14]+165*[(n+10) mod 14]-108*[(n+11) mod 14]+165*[(n+12) mod 14]+3896*[(n+13) mod 14]}-22*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, May 13 2009]

MAPLE

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

CROSSREFS

Sequence in context: A229555 A040505 A040478 * A040476 A040480 A040479

Adjacent sequences:  A040474 A040475 A040476 * A040478 A040479 A040480

KEYWORD

nonn,cofr,easy,less

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 September 22 06:01 EDT 2021. Contains 347605 sequences. (Running on oeis4.)