login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040457 Continued fraction for sqrt(479). 0
21, 1, 7, 1, 3, 2, 21, 2, 3, 1, 7, 1, 42, 1, 7, 1, 3, 2, 21, 2, 3, 1, 7, 1, 42, 1, 7, 1, 3, 2, 21, 2, 3, 1, 7, 1, 42, 1, 7, 1, 3, 2, 21, 2, 3, 1, 7, 1, 42, 1, 7, 1, 3, 2, 21, 2, 3, 1, 7, 1, 42, 1, 7, 1, 3, 2, 21, 2, 3, 1, 7, 1, 42, 1, 7, 1, 3, 2, 21, 2, 3, 1, 7, 1, 42, 1, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for continued fractions for constants

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

FORMULA

a(n)=(1/792)*{-2615*(n mod 12)+487*[(n+1) mod 12]-305*[(n+2) mod 12]+223*[(n+3) mod 12]+25*[(n+4) mod 12]+1345*[(n+5) mod 12]-1163*[(n+6) mod 12]+157*[(n+7) mod 12]-41*[(n+8) mod 12]+487*[(n+9) mod 12]-305*[(n+10) mod 12]+2797*[(n+11) mod 12]}-21*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, May 13 2009]

MAPLE

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

MATHEMATICA

ContinuedFraction[Sqrt[479], 120] (* or *) PadRight[{21}, 120, {42, 1, 7, 1, 3, 2, 21, 2, 3, 1, 7, 1}] (* Harvey P. Dale, Mar 28 2018 *)

CROSSREFS

Sequence in context: A040454 A040455 A040456 * A040458 A093192 A040459

Adjacent sequences:  A040454 A040455 A040456 * A040458 A040459 A040460

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 January 22 07:31 EST 2022. Contains 350481 sequences. (Running on oeis4.)