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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040381 Continued fraction for sqrt(402). 2
20, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=30+10*(-1)^n-20*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Apr 29 2009]

MAPLE

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

CROSSREFS

Sequence in context: A291522 A303642 A278830 * A022354 A302363 A165841

Adjacent sequences:  A040378 A040379 A040380 * A040382 A040383 A040384

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 23 16:14 EDT 2019. Contains 325258 sequences. (Running on oeis4.)