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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A041794 Numerators of continued fraction convergents to sqrt(418). 2
20, 41, 184, 3721, 15068, 33857, 1369348, 2772553, 12459560, 251963753, 1020314572, 2292592897, 92724030452, 187740653801, 843686645656, 17061473566921, 69089580913340, 155240635393601, 6278714996657380 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..200

Index to sequences with linear recurrences with constant coefficients, signature (0,0,0,0,0,67714,0,0,0,0,0,-1).

FORMULA

G.f.: -(x^11-20*x^10+41*x^9-184*x^8+3721*x^7-15068*x^6-33857*x^5-15068*x^4-3721*x^3-184*x^2-41*x-20)/(x^12-67714*x^6+1). - Vincenzo Librandi, Nov 09 2013

a(n) = 67714*a(n-6)-a(n-12). - Vincenzo Librandi, Nov 09 2013

MATHEMATICA

Numerator/@Convergents[Sqrt[418], 30]  (* Harvey P. Dale, Apr 07 2011 *)

CoefficientList[Series[-(x^11 - 20 x^10 + 41 x^9 - 184 x^8 + 3721 x^7 - 15068 x^6 - 33857 x^5 - 15068 x^4 - 3721 x^3 - 184 x^2 - 41 x - 20)/(x^12 - 67714 x^6 + 1), {x, 0, 30}], x] (* or *) LinearRecurrence[{0, 0, 0, 0, 0, 67714, 0, 0, 0, 0, 0, -1}, {20, 41, 184, 3721, 15068, 33857, 1369348, 2772553, 12459560, 251963753, 1020314572, 2292592897}, 30] (* Vincenzo Librandi, Nov 09 2013 *)

PROG

(MAGMA) I:=[20, 41, 184, 3721, 15068, 33857, 1369348, 2772553, 12459560, 251963753, 1020314572, 2292592897]; [n le 12 select I[n] else 67714*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Nov 09 2013

CROSSREFS

Cf. A041795.

Sequence in context: A171389 A038639 A041792 * A041796 A041798 A132762

Adjacent sequences:  A041791 A041792 A041793 * A041795 A041796 A041797

KEYWORD

nonn,cofr,frac,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 | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified September 22 18:07 EDT 2014. Contains 247073 sequences.