login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A178132
Partial sums of A003995.
0
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,3
COMMENTS
Partial sums of sum of (any number of) distinct squares. The subsequence of primes in this partial sum begins: 5, 19, 29, 89, 109, 499, 673, 823, 1093, 1453, 1999, 2543, 2963.
FORMULA
a(n) = SUM[i=0..n] A003995(i) = SUM[i=0..n] (r^2 + s^2 + t^2+ ...) with 0<=r<s<t<....
EXAMPLE
a(13) = 0 + 1 + 4 + 5 + 9 + 10 + 13 + 14 + 16 + 17 + 20 + 21 + 25 + 26 = 181 is prime.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, May 20 2010
STATUS
approved