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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040235 Continued fraction for sqrt(251). 0
15, 1, 5, 2, 1, 2, 2, 15, 2, 2, 1, 2, 5, 1, 30, 1, 5, 2, 1, 2, 2, 15, 2, 2, 1, 2, 5, 1, 30, 1, 5, 2, 1, 2, 2, 15, 2, 2, 1, 2, 5, 1, 30, 1, 5, 2, 1, 2, 2, 15, 2, 2, 1, 2, 5, 1, 30, 1, 5, 2, 1, 2, 2, 15, 2, 2, 1, 2, 5, 1, 30, 1, 5, 2, 1, 2, 2, 15, 2, 2, 1, 2, 5, 1, 30, 1, 5 (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/6)*{-2568*(n mod 14)+435*[(n+1) mod 14]-202*[(n+2) mod 14]-20*[(n+3) mod 14]+162*[(n+4) mod 14]+71*[(n+5) mod 14]+1254*[(n+6) mod 14]-1112*[(n+7) mod 14]+71*[(n+8) mod 14]-20*[(n+9) mod 14]+162*[(n+10) mod 14]+344*[(n+11) mod 14]-293*[(n+12) mod 14]+2710*[(n+13) mod 14]}-15*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 22 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[251], 120] (* or *) PadRight[{15}, 120, {30, 1, 5, 2, 1, 2, 2, 15, 2, 2, 1, 2, 5, 1}] (* Harvey P. Dale, Apr 02 2017 *)

CROSSREFS

Sequence in context: A040230 A040233 A040234 * A040236 A185903 A040237

Adjacent sequences:  A040232 A040233 A040234 * A040236 A040237 A040238

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 21 15:11 EST 2019. Contains 320374 sequences. (Running on oeis4.)