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) = 9*n^4 - 6*n^3 + 63*n^2 - 66*n + 24.
G.f.: (24+120*z+0*z^2+48*z^3+24*z^4)/(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 15 2016
MATHEMATICA
Table[9*n^4 - 6*n^3 + 63*n^2 - 66*n + 24, {n, 1, 100}] (* or *) LinearRecurrence[{5, -10, 10, -5, 1}, {24, 240, 960, 2688, 6144}, 100] (* G. C. Greubel, Jun 15 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Nov 10 2009
STATUS
approved