OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (14,-84,280,-560,672,-448,128).
FORMULA
a(n) = 2^(n-6)*n*(n+1)*(n^4 + 14*n^3 + 31*n^2 - 46*n + 16).
G.f.: -x*(136*x^4-272*x^3+84*x^2+52*x+1)/(2*x-1)^7. [Colin Barker, Sep 20 2012]
MATHEMATICA
Table[Sum[k^6*Binomial[n, k], {k, n}], {n, 0, 30}] (* T. D. Noe, Nov 22 2013 *)
PROG
(PARI) a(n) = sum(k = 1, n, k^6*binomial(n, k)); \\ Michel Marcus, Nov 20 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Dec 06 2002
STATUS
approved