OFFSET
1,1
COMMENTS
REFERENCES
D. Wells, The Penguin Dictionary of Curious and Interesting Numbers, entry 17163.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..2000
Robert E. Dressler, Louis Pigno, and Robert Young, Sums of squares of primes, Nordisk Mat. Tidskr. 24 (1976), 39-40. MR 54 #7373.
FORMULA
It is easy to check that these 2438 numbers that are not the sum of distinct primes squared are all of the form sum_i e_i*q_i where e_i is 1 or -1 and the q_i's are distinct primes. - W. Edwin Clark, Oct 19 2003
EXAMPLE
13 = 2^2 + 3^2.
MATHEMATICA
nn=10; s={0}; Do[p=Prime[n]; s=Union[s, s+p^2], {n, nn}]; s=Select[s, 0<#<=Prime[nn]^2&] (* T. D. Noe, Aug 04 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved