OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
G.f.: ( -1+x+x^2-x^3-24*x^4 ) / (x-1)^5. - R. J. Mathar, Jun 09 2016
MATHEMATICA
Table[n^4 - 6n^3 + 12n^2 - 4n + 1, {n, 0, 39}] (* Alonso del Arte, Dec 28 2016 *)
LinearRecurrence[{5, -10, 10, -5, 1}, {1, 4, 9, 16, 49}, 40] (* Harvey P. Dale, Mar 12 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved