OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,-22,28,-17,4).
FORMULA
G.f.: x * (1+4*x+x^2)/((1-4*x) * (1-x)^4).
a(n) = 8*a(n-1) - 22*a(n-2) + 28*a(n-3) - 17*a(n-4) + 4*a(n-5).
a(n) = (11*4^(n+1) - (9*n^3 + 36*n^2 + 60*n + 44))/27.
a(0) = 0; a(n) = 4*a(n-1) + n^3.
PROG
(PARI) a(n) = sum(k=1, n, k^3*4^(n-k));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Dec 29 2023
STATUS
approved