login
A332697
a(n) = (n^4 + 5*n^3 + 11*n^2 + 7*n)/6.
3
0, 4, 19, 56, 130, 260, 469, 784, 1236, 1860, 2695, 3784, 5174, 6916, 9065, 11680, 14824, 18564, 22971, 28120, 34090, 40964, 48829, 57776, 67900, 79300, 92079, 106344, 122206, 139780, 159185, 180544, 203984, 229636, 257635, 288120, 321234, 357124, 395941, 437840
OFFSET
0,2
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
Cf. A332023.
Column k = 4 of A128134 (shifted).
Sequence in context: A020496 A108484 A283333 * A134507 A098813 A212039
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Feb 20 2020
STATUS
approved