OFFSET
0,4
COMMENTS
From Chai Wah Wu, Mar 16 2017: (Start)
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n > 4.
G.f.: x*(-x^3 - 6*x^2 - 6*x + 1)/(x - 1)^5. (End)
LINKS
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
EXAMPLE
(2^4 - 2^3 - 2^2 - 2)/2 = 1, (3^4 - 3^3 - 3^2 - 3)/2 = 21,..
MATHEMATICA
f[n_]:=(n^4-n^3-n^2-n)/2; Table[f[n], {n, 0, 5!}]
CROSSREFS
KEYWORD
sign
AUTHOR
Vladimir Joseph Stephan Orlovsky, Dec 04 2009
EXTENSIONS
Offset corrected by Chai Wah Wu, Mar 16 2017
STATUS
approved