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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040242 Continued fraction for sqrt(259). 1
16, 10, 1, 2, 3, 4, 3, 2, 1, 10, 32, 10, 1, 2, 3, 4, 3, 2, 1, 10, 32, 10, 1, 2, 3, 4, 3, 2, 1, 10, 32, 10, 1, 2, 3, 4, 3, 2, 1, 10, 32, 10, 1, 2, 3, 4, 3, 2, 1, 10, 32, 10, 1, 2, 3, 4, 3, 2, 1, 10, 32, 10, 1, 2, 3, 4, 3, 2, 1, 10, 32, 10, 1, 2, 3, 4, 3, 2, 1, 10, 32 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

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

FORMULA

a(n)=(1/450)*{-922*(n mod 10)-337*[(n+1) mod 10]+113*[(n+2) mod 10]+113*[(n+3) mod 10]+113*[(n+4) mod 10]+23*[(n+5) mod 10]+23*[(n+6) mod 10]+23*[(n+7) mod 10]+473*[(n+8) mod 10]+1058*[(n+9) mod 10]}-16*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 21 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[259], 120] (* or *) PadRight[{16}, 120, {32, 10, 1, 2, 3, 4, 3, 2, 1, 10}] (* Harvey P. Dale, Jan 02 2018 *)

CROSSREFS

Sequence in context: A103167 A303317 A154615 * A306378 A232999 A217157

Adjacent sequences:  A040239 A040240 A040241 * A040243 A040244 A040245

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