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 (6, -15, 20, -15, 6, -1).
FORMULA
a(n) = 6*n^5 + 20*n^4 + 202*n^3 + 124*n^2 + 368*n.
G.f.: (432*z^4 - 864*z^3 + 1392*z^2 - 960*z + 720)/(1-z)^6.
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6). - G. C. Greubel, Jun 16 2016
MATHEMATICA
Table[6*n^5 + 20*n^4 + 202*n^3 + 124*n^2 + 368*n, {n, 1, 100}] (* or *) LinearRecurrence[{6, -15, 20, -15, 6, -1}, {720, 3360, 10752, 27648, 61440, 122880}, 100] (* G. C. Greubel, Jun 16 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Nov 10 2009
STATUS
approved