login
A082107
Diagonal sums of number array A082105.
5
1, 2, 8, 28, 79, 190, 406, 792, 1437, 2458, 4004, 6260, 9451, 13846, 19762, 27568, 37689, 50610, 66880, 87116, 112007, 142318, 178894, 222664, 274645, 335946, 407772, 491428, 588323, 699974, 828010, 974176, 1140337, 1328482, 1540728
OFFSET
0,2
FORMULA
a(n) = (n^5 + 20*n^3 + 9*n + 30)/30.
G.f.: (1-4*x+11*x^2-10*x^3+6*x^4)/(1-x)^6 . - R. J. Mathar, Mar 27 2019
E.g.f.: (1/30)*(30 +30*x +75*x^2 +45*x^3 +10*x^4 +x^5)*exp(x). - G. C. Greubel, Dec 22 2022
MATHEMATICA
LinearRecurrence[{6, -15, 20, -15, 6, -1}, {1, 2, 8, 28, 79, 190}, 51] (* G. C. Greubel, Dec 22 2022 *)
PROG
(Magma) [(n^5+20*n^3+9*n+30)/30: n in [0..50]]; // G. C. Greubel, Dec 22 2022
(SageMath) [(n^5+20*n^3+9*n+30)/30 for n in range(51)] # G. C. Greubel, Dec 22 2022
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 03 2003
STATUS
approved