OFFSET
1,4
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
FORMULA
Explicit formula: a(n) = 1/2*n^2*(n-3)*(n+3), n>=3.
G.f.: 2*x^4*(x-2)*(5*x^2 - 13*x + 14)/(x-1)^5.
MATHEMATICA
CoefficientList[Series[2 x^3 (x-2) (5 x^2 - 13 x + 14) / (x - 1)^5, {x, 0, 50}], x] (* Vincenzo Librandi, Jun 01 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vaclav Kotesovec, Jan 07 2011
STATUS
approved