OFFSET
1,2
LINKS
N. J. A. Sloane, Transforms
Index entries for linear recurrences with constant coefficients, signature (12, -54, 115, -132, 108, -59, 24, -6, 1).
FORMULA
G.f.: ((1-x)^3*(1+x)*(1-2*x+4*x^2-x^3))/((1-4*x+2*x^2-x^3)^3).
a(n) = 12*a(n-1)-54*a(n-2)+115*a(n-3)-132*a(n-4)+108*a(n-5)-59*a(n-6)+24*a(n-7)-6*a(n-8)+a(n-9). - Wesley Ivan Hurt, Apr 23 2021
MATHEMATICA
CoefficientList[Series[((1-x)^3(1+x)(1-2x+4x^2-x^3))/((1-4x+2x^2-x^3)^3), {x, 0, 30}], x] (* or *) LinearRecurrence[{12, -54, 115, -132, 108, -59, 24, -6, 1}, {1, 8, 50, 276, 1397, 6672, 30565, 135668, 587426}, 30] (* Harvey P. Dale, Mar 14 2016 *)
PROG
(PARI) Vec(((1-x)^3*(1+x)*(1-2*x+4*x^2-x^3))/((1-4*x+2*x^2-x^3)^3)+O(x^66)) \\ Joerg Arndt, Apr 21 2013
CROSSREFS
KEYWORD
nonn,nice,easy
AUTHOR
STATUS
approved
