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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040928 Continued fraction for sqrt(959). 1
30, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29, 1, 60, 1, 29 (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)*{-263*(n mod 4)+259*[(n+1) mod 4]-77*[(n+2) mod 4]+445*[(n+3) mod 4]}-30*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jun 03 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[959], 80] (* or *) PadRight[{30}, 80, {60, 1, 29, 1}] (* Harvey P. Dale, May 03 2013 *)

CROSSREFS

Sequence in context: A040925 A040926 A040927 * A040929 A040892 A040893

Adjacent sequences:  A040925 A040926 A040927 * A040929 A040930 A040931

KEYWORD

nonn,cofr,mult,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 22 18:31 EST 2019. Contains 320400 sequences. (Running on oeis4.)