OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = n^4 + n^2 + 2n.
G.f.: -4*x*(4*x^2+x+1)/(x-1)^5. [Colin Barker, Dec 21 2012]
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {0, 4, 24, 96, 280}, 40] (* Harvey P. Dale, Nov 29 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 16 2000
STATUS
approved