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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040840 Continued fraction for sqrt(870). 1
29, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58, 2, 58 (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)=30+28*(-1)^n-29*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, May 29 2009]

MAPLE

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

MATHEMATICA

Block[{$MaxExtraPrecision=1000}, ContinuedFraction[Sqrt[870], 100]] (* or *) PadRight[{29}, 120, {58, 2}] (* Harvey P. Dale, Oct 06 2016 *)

CROSSREFS

Sequence in context: A040838 A040839 A107810 * A051314 A040827 A040826

Adjacent sequences:  A040837 A040838 A040839 * A040841 A040842 A040843

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 July 18 07:10 EDT 2019. Contains 325134 sequences. (Running on oeis4.)