OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
Row sums of A332023.
G.f.: x*(x^2 - x + 4)/(1 - x)^5. - Petros Hadjicostas, Jul 26 2020
MAPLE
a := n ->(5*n^3 + 11*n^2 + 7*n + n^4)/6: seq(a(n), n=0..50);
MATHEMATICA
Table[(n^4+5n^3+11n^2+7n)/6, {n, 0, 40}] (* or *) LinearRecurrence[{5, -10, 10, -5, 1}, {0, 4, 19, 56, 130}, 40] (* Harvey P. Dale, Apr 09 2022 *)
PROG
(Magma) [(5*n^3 + 11*n^2 + 7*n + n^4)/6 : n in [0..50]]; // Wesley Ivan Hurt, Jul 26 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Feb 20 2020
STATUS
approved