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