OFFSET
0,3
LINKS
D. Zeilberger, [math/9801016] Automated counting of LEGO towers
Index entries for linear recurrences with constant coefficients, signature (5,-6,3,-1).
FORMULA
G.f.: x*(1 - 3*x + 2*x^2 - x^3)/(1 - 5*x + 6*x^2 - 3*x^3 + x^4).
MATHEMATICA
CoefficientList[Series[x*(1 - 3*x + 2*x^2 - x^3)/(1 - 5*x + 6*x^2 - 3*x^3 + x^4), {x, 0, 30}], x] (* Wesley Ivan Hurt, Feb 12 2017 *)
LinearRecurrence[{5, -6, 3, -1}, {0, 1, 2, 6, 20}, 30] (* Harvey P. Dale, Nov 10 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, May 19 2003
STATUS
approved