A373301 Sum of successive nonnegative integers in a row of length p(n) where p counts integer partitions.
0, 3, 12, 40, 98, 253, 540, 1199, 2415, 4893, 9268, 17864, 32421, 59265, 104632, 184338, 315414, 540155, 901845, 1504173, 2461932, 4013511, 6443170, 10314675, 16281749, 25608450, 39838855, 61716941, 94682665, 144726102
Offset: 1
Keywords
Examples
Illustration of the first few terms . 0 | 0 3 | 1, 2 12 | 3, 4, 5 40 | 6, 7, 8, 9, 10 98 | 11, 12, 13, 14, 15, 16, 17 253 | 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28 540 | 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43 .
Crossrefs
Programs
-
Mathematica
Module[{s = -1}, Table[s += PartitionsP[ n - 1]; (s + PartitionsP[n]) (s + PartitionsP[n] - 1)/2 - s (s - 1)/2, {n, 1, 30}]]
Comments