OFFSET
0,3
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (16,-112,448,-1120,1792,-1792,1024,-256).
FORMULA
a(n) = n^2*(n^5 + 21*n^4 + 105*n^3 + 35*n^2 - 210*n + 112)*2^(n-7).
a(n) = Sum_{k=0..n} C(n, k)*k^7.
G.f.: x*(1+114*x+606*x^2-1168*x^3-96*x^4+816*x^5-272*x^6)/(1-2*x)^8. - Colin Barker, Sep 20 2012
MATHEMATICA
LinearRecurrence[{16, -112, 448, -1120, 1792, -1792, 1024, -256}, {0, 1, 130, 2574, 25904, 183200, 1040112, 5076400}, 41] (* Amiram Eldar, Nov 26 2021 *)
PROG
(Magma) [n^2*(n^5+21*n^4+105*n^3+35*n^2-210*n+112)*2^(n-7): n in [0..40]]; // G. C. Greubel, Mar 20 2023
(SageMath) [n^2*(n^5+21*n^4+105*n^3+35*n^2-210*n+112)*2^(n-7) for n in range(41)] # G. C. Greubel, Mar 20 2023
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jun 08 2003
STATUS
approved