login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040482 Continued fraction for sqrt(505). 1
22, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2, 44, 2, 8, 2 (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/6)*{-49*(n mod 4)+23*[(n+1) mod 4]+5*[(n+2) mod 4]+77*[(n+3) mod 4]}-22*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, May 13 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[505], 120] (* or *) PadRight[{22}, 120, {44, 2, 8, 2}] (* Harvey P. Dale, Jan 02 2019 *)

CROSSREFS

Sequence in context: A336895 A040481 A058288 * A040483 A210647 A040473

Adjacent sequences:  A040479 A040480 A040481 * A040483 A040484 A040485

KEYWORD

nonn,cofr,easy,less

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 5 01:32 EDT 2021. Contains 346456 sequences. (Running on oeis4.)