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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040270 Continued fraction for sqrt(287). 1
16, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15, 1, 32, 1, 15 (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, 0, 0, 1).

FORMULA

a(n)=(1/24)*{-137*(n mod 4)+133*[(n+1) mod 4]-35*[(n+2) mod 4]+235*[(n+3) mod 4]}-16*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 24 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[287], 120] (* or *) PadRight[{16}, 120, {32, 1, 15, 1}] (* Harvey P. Dale, Sep 15 2017 *)

CROSSREFS

Sequence in context: A321673 A040269 A141682 * A303327 A070539 A301909

Adjacent sequences:  A040267 A040268 A040269 * A040271 A040272 A040273

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 23 18:54 EST 2019. Contains 320438 sequences. (Running on oeis4.)