OFFSET
0,2
COMMENTS
From Bruno Berselli, May 08 2013: (Start)
Naturally, the sequence is related to:
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (26,-211,546,-360).
FORMULA
G.f.: 1/((1-x)*(1-3*x)*(1-10*x)*(1-12*x)).
a(n) = -1/198 +3^(n+1)/14 -2^(n+2)*5^(n+3)/63 +2^(2n+5)*3^(n+1)/11. [Bruno Berselli, May 07 2013]
MATHEMATICA
CoefficientList[Series[1/((1 - x) (1 - 3 x) (1 - 10 x) (1 - 12 x)), {x, 0, 20}], x] (* Bruno Berselli, May 07 2013 *)
LinearRecurrence[{26, -211, 546, -360}, {1, 26, 465, 7150}, 120] (* Harvey P. Dale, Jul 06 2019 *)
PROG
(PARI) Vec(1/((1-x)*(1-3*x)*(1-10*x)*(1-12*x))+O(x^20)) \\ Bruno Berselli, May 07 2013
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-x)*(1-3*x)*(1-10*x)*(1-12*x)))); // Bruno Berselli, May 07 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved