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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040302 Continued fraction for sqrt(320). 1
17, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1, 34, 1, 7, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

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)*{-155*(n mod 4)+79*[(n+1) mod 4]+7*[(n+2) mod 4]+241*[(n+3) mod 4]}-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(320)), confrac);

MATHEMATICA

ContinuedFraction[Sqrt[320], 120] (* Harvey P. Dale, Apr 08 2012 *)

CROSSREFS

Sequence in context: A040299 A040301 A175960 * A269481 A229201 A040303

Adjacent sequences:  A040299 A040300 A040301 * A040303 A040304 A040305

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 August 25 16:50 EDT 2019. Contains 326324 sequences. (Running on oeis4.)