OFFSET
0,3
LINKS
N. J. A. Sloane, Transforms
Eric Weisstein's World of Mathematics, Pentagonal Number
Index entries for linear recurrences with constant coefficients, signature (12,-51,91,-75,66,-28,15,-3,1).
FORMULA
G.f.: x*(1 - x)^3*(1 + 2*x)*(1 - x + 7*x^2 - x^3)/(1 - 4*x + x^2 - x^3)^3.
a(n) = 12*a(n-1) - 51*a(n-2) + 91*a(n-3) - 75*a(n-4) + 66*a(n-5) - 28*a(n-6) + 15*a(n-7) - 3*a(n-8) + a(n-9).
MATHEMATICA
CoefficientList[Series[x (1 - x)^3 (1 + 2 x) (1 - x + 7 x^2 - x^3)/(1 - 4 x + x^2 - x^3)^3, {x, 0, 25}], x]
LinearRecurrence[{12, -51, 91, -75, 66, -28, 15, -3, 1}, {0, 1, 10, 74, 469, 2662, 14115, 71360, 348143}, 26]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ilya Gutkovskiy, Dec 09 2016
STATUS
approved