A332697 a(n) = (n^4 + 5*n^3 + 11*n^2 + 7*n)/6.
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
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).
Programs
-
Magma
[(5*n^3 + 11*n^2 + 7*n + n^4)/6 : n in [0..50]]; // Wesley Ivan Hurt, 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 *)
Formula
Row sums of A332023.
G.f.: x*(x^2 - x + 4)/(1 - x)^5. - Petros Hadjicostas, Jul 26 2020