A130218 Partial sums of A100119. Sum of first n of the n-th centered n-gonal numbers.
1, 3, 10, 29, 70, 146, 273, 470, 759, 1165, 1716, 2443, 3380, 4564, 6035, 7836, 10013, 12615, 15694, 19305, 23506, 28358, 33925, 40274, 47475, 55601, 64728, 74935, 86304, 98920, 112871, 128248, 145145, 163659, 183890, 205941, 229918, 255930
Offset: 1
Examples
a(41) = 1 + 2 + 7 + 19 + 41 + 76 + 127 + 197 + 289 + 406 + 551 + 727 + 937 + 1184 + 1471 + 1801 + 2177 + 2602 + 3079 + 3611 + 4201 + 4852 + 5567 + 6349 + 7201 + 8126 + 9127 + 10207 + 11369 + 12616 + 13951 + 15377 + 16897 + 18514 + 20231 + 22051 + 23977 + 26012 + 28159 + 30421 + 32801 + 35302 = 382613.
Links
- Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
Programs
-
Mathematica
LinearRecurrence[{5,-10,10,-5,1},{1,3,10,29,70},40] (* Harvey P. Dale, Jun 02 2018 *)
Formula
a(n) = (n*(26-3*n-2*n^2+3*n^3))/24. G.f.: x*(x^3-5*x^2+2*x-1) / (x-1)^5. - Colin Barker, Apr 29 2013
Comments