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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040956 Continued fraction for sqrt(988). 1
31, 2, 3, 4, 1, 20, 6, 1, 14, 1, 6, 20, 1, 4, 3, 2, 62, 2, 3, 4, 1, 20, 6, 1, 14, 1, 6, 20, 1, 4, 3, 2, 62, 2, 3, 4, 1, 20, 6, 1, 14, 1, 6, 20, 1, 4, 3, 2, 62, 2, 3, 4, 1, 20, 6, 1, 14, 1, 6, 20, 1, 4, 3, 2, 62, 2, 3, 4, 1, 20, 6, 1, 14, 1, 6, 20, 1, 4, 3, 2, 62, 2, 3, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

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

FORMULA

a(n)=(1/64)*{-235*(n mod 16)+9*[(n+1) mod 16]+9*[(n+2) mod 16]-7*[(n+3) mod 16]+81*[(n+4) mod 16]-51*[(n+5) mod 16]-15*[(n+6) mod 16]+57*[(n+7) mod 16]-47*[(n+8) mod 16]+25*[(n+9) mod 16]+61*[(n+10) mod 16]-71*[(n+11) mod 16]+17*[(n+12) mod 16]+[(n+13) mod 16]+[(n+14) mod 16]+245*[(n+15) mod 16]}-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(988)), confrac);

CROSSREFS

Sequence in context: A040950 A040955 A040954 * A051315 A040957 A040958

Adjacent sequences:  A040953 A040954 A040955 * A040957 A040958 A040959

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 18 17:51 EDT 2019. Contains 321292 sequences. (Running on oeis4.)