A178132 Partial sums of A003995.
0, 1, 5, 10, 19, 29, 42, 56, 72, 89, 109, 130, 155, 181, 210, 240, 274, 309, 345, 382, 420, 459, 499, 540, 582, 627, 673, 722, 772, 823, 875, 928, 982, 1037, 1093, 1150, 1208, 1267, 1328, 1390, 1453, 1517, 1582, 1648, 1716, 1785, 1855, 1926, 1999, 2073, 2148
Offset: 0
Examples
a(13) = 0 + 1 + 4 + 5 + 9 + 10 + 13 + 14 + 16 + 17 + 20 + 21 + 25 + 26 = 181 is prime.
Formula
a(n) = SUM[i=0..n] A003995(i) = SUM[i=0..n] (r^2 + s^2 + t^2+ ...) with 0<=r
Comments