

A160359


Primes that are partial sums of squares of the odd primes


2



83, 373, 2393, 4723, 56383, 122701, 1789391, 1987849, 2706679, 7287991, 27833021, 41765519, 43570537, 55600477, 62283451, 67053359, 104720809, 122353547, 204330311, 347756707, 450504547, 540649093, 677774533, 715849843, 839886301
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

There is necessarily an odd number of terms in the sum a(n) = 3^2+5^2+...+p(k)^2, i.e. the index k=A160358(n)+1 of the last prime in this sum is even.


LINKS

Table of n, a(n) for n=1..25.


FORMULA

A160359 = A000040 intersect A133547.


MATHEMATICA

Select[Accumulate[Prime[Range[2, 400]]^2], PrimeQ] (* Harvey P. Dale, Jul 17 2021 *)


PROG

(PARI) s=0; forprime( p=3, 9999, isprime(s+=p^2) & print1(s", "))


CROSSREFS

Cf. A098562, A133547.
Sequence in context: A061525 A293979 A340861 * A142496 A142560 A243342
Adjacent sequences: A160356 A160357 A160358 * A160360 A160361 A160362


KEYWORD

nonn


AUTHOR

M. F. Hasler, May 18 2009


STATUS

approved



