OFFSET
1,1
COMMENTS
Extended to a(1)-a(2) using the formula/recurrence.
LINKS
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
FORMULA
a(n) = n*(-21 + 38*n - 12*n^2 + 4*n^3)/3.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
G.f.: x*(-3 - 11*x + 7*x^2 - 25*x^3)/(-1 + x)^5.
MATHEMATICA
Table[n (-21 + 38 n - 12 n^2 + 4 n^3)/3, {n, 20}]
LinearRecurrence[{5, -10, 10, -5, 1}, {3, 26, 93, 260, 615}, 20]
CoefficientList[Series[(-3 - 11 x + 7 x^2 - 25 x^3)/(-1 + x)^5, {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Sep 07 2017
STATUS
approved