OFFSET
1,1
COMMENTS
All terms are necessarily odd. Thus one could also consider the sequence floor(a(n)/2) = (1,2,4,5,11,14,31,32,35,...). Other possible variations would be to list the index a(n)+1 of the largest prime in that sum, or, since this is always even, (a(n)+1)/2 = (2,3,5,6,12,15,32,33,36,...).
PROG
(PARI) s=0; for( i=2, 1999, isprime(s+=prime(i)^2) & print1(i-1, ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, May 18 2009
STATUS
approved