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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040293 Continued fraction for sqrt(311). 0
17, 1, 1, 1, 2, 1, 6, 3, 17, 3, 6, 1, 2, 1, 1, 1, 34, 1, 1, 1, 2, 1, 6, 3, 17, 3, 6, 1, 2, 1, 1, 1, 34, 1, 1, 1, 2, 1, 6, 3, 17, 3, 6, 1, 2, 1, 1, 1, 34, 1, 1, 1, 2, 1, 6, 3, 17, 3, 6, 1, 2, 1, 1, 1, 34, 1, 1, 1, 2, 1, 6, 3, 17, 3, 6, 1, 2, 1, 1, 1, 34, 1, 1, 1, 2, 1, 6, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

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/640)*{-1293*(n mod 16)+27*[(n+1) mod 16]+27*[(n+2) mod 16]+67*[(n+3) mod 16]-13*[(n+4) mod 16]+227*[(n+5) mod 16]-93*[(n+6) mod 16]+587*[(n+7) mod 16]-533*[(n+8) mod 16]+147*[(n+9) mod 16]-173*[(n+10) mod 16]+67*[(n+11) mod 16]-13*[(n+12) mod 16]+27*[(n+13) mod 16]+27*[(n+14) mod 16]+1347*[(n+15) mod 16]}-17*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 27 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[311], 120] (* or *) PadRight[{17}, 120, {34, 1, 1, 1, 2, 1, 6, 3, 17, 3, 6, 1, 2, 1, 1, 1}] (* Harvey P. Dale, Feb 14 2018 *)

CROSSREFS

Sequence in context: A088469 A089170 A040292 * A040294 A040291 A040290

Adjacent sequences:  A040290 A040291 A040292 * A040294 A040295 A040296

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 February 20 12:57 EST 2019. Contains 320327 sequences. (Running on oeis4.)