OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = 5*n^4 + 10*n^3 + 67*n^2 + 14*n + 24.
G.f.: (24*z^4 - 48*z^3 + 144*z^2 - 120*z + 120)/(1-z)^5.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5). - G. C. Greubel, Jun 16 2016
MATHEMATICA
Table[5*n^4 + 10*n^3 + 67*n^2 + 14*n + 24, {n, 1, 100}] (* or *) LinearRecurrence[{5, -10, 10, -5, 1}, {120, 480, 1344, 3072, 6144}, 100] (* G. C. Greubel, Jun 16 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Nov 10 2009
STATUS
approved