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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040239 Continued fraction for sqrt(255). 1
15, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for continued fractions for constants

Index entries for linear recurrences with constant coefficients, signature (0, 1).

FORMULA

a(n)=(1/2)*[31+29*(-1)^n]-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(255)), confrac);

MATHEMATICA

ContinuedFraction[Sqrt[255], 90] (* Harvey P. Dale, Dec 25 2011 *)

CROSSREFS

Sequence in context: A225762 A040238 A201460 * A126141 A131514 A049327

Adjacent sequences:  A040236 A040237 A040238 * A040240 A040241 A040242

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 16 02:39 EST 2019. Contains 320140 sequences. (Running on oeis4.)