OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (24,-182,456,-297).
FORMULA
G.f.: 1/((1-x)*(1-3*x)*(1-9*x)*(1-11*x)).
a(n) = -1/160 +3^(n+2)/32 -3^(2n+5)/32 +11^(n+3)/160. [Bruno Berselli, May 07 2013]
a(n)-11*a(n-1) = A006100(n+2). [Bruno Berselli, May 08 2013]
MATHEMATICA
CoefficientList[Series[1/((1 - x) (1 - 3 x) (1 - 9 x) (1 - 11 x)), {x, 0, 20}], x] (* Bruno Berselli, May 07 2013 *)
LinearRecurrence[{24, -182, 456, -297}, {1, 24, 394, 5544}, 20] (* Harvey P. Dale, Mar 01 2022 *)
PROG
(PARI) Vec(1/((1-x)*(1-3*x)*(1-9*x)*(1-11*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-9*x)*(1-11*x)))); // Bruno Berselli, May 07 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved