OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (22,-149,368,-240).
FORMULA
G.f.: 1/((1-x)*(1-4*x)*(1-5*x)*(1-12*x)).
a(n) = -1/132 +2^(2n+3)/3 -5^(n+3)/28 +2^(2n+3)*3^(n+3)/77. - Bruno Berselli, May 08 2013
a(n) = 22*a(n-1) - 149*a(n-2) + 368*a(n-3) - 240*a(n-4). - Wesley Ivan Hurt, Apr 12 2023
MATHEMATICA
CoefficientList[Series[1/((1-x) (1-4 x) (1-5 x) (1-12 x)), {x, 0, 20}], x] (* Bruno Berselli, May 08 2013 *)
PROG
(PARI) Vec(1/((1-x)*(1-4*x)*(1-5*x)*(1-12*x))+O(x^20)) \\ Bruno Berselli, May 08 2013
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-x)*(1-4*x)*(1-5*x)*(1-12*x)))); // Bruno Berselli, May 08 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved