OFFSET
0,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..811
Index entries for linear recurrences with constant coefficients, signature (0,290,0,-1).
FORMULA
G.f.: (12+145*x+12*x^2-x^3)/(1-290*x^2+x^4); // Vincenzo Librandi, Nov 01 2013
a(n) = 290*a(n-2)-a(n-4). - Vincenzo Librandi, Nov 01 2013
MATHEMATICA
Numerator[Convergents[Sqrt[146], 30]] (* or *) CoefficientList[Series[(12 + 145 x + 12 x^2 - x^3)/(1 - 290 x^2 + x^4), {x, 0, 25}], x] (* Vincenzo Librandi, Oct 31 2013 *)
LinearRecurrence[{0, 290, 0, -1}, {12, 145, 3492, 42049}, 20] (* Harvey P. Dale, May 11 2017 *)
PROG
(Magma) I:=[12, 145, 3492, 42049]; [n le 4 select I[n] else 290*Self(n-2)-Self(n-4): n in [1..20]]; // Vincenzo Librandi, Nov 01 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, May 11 2017
STATUS
approved