OFFSET
1,2
COMMENTS
A necessary condition for the existence of a magic square consisting of the first n^2 odd primes.
a(12) > 500000. - Donovan Johnson
EXAMPLE
a(2)=35 since 3+5+ ... +9941 = 5706505 = 35*163043 and 163043 = 35 mod 2.
PROG
(PARI) s=0; t=0; u=1; forprime(x=3, 2500000, s=s+x; t=t+1; if(t==u*u, if(s%u==0&(s\u)%2==u%2, print(u), ); u=u+1, ))
CROSSREFS
KEYWORD
nonn,hard
AUTHOR
H. K. Gottlob Maier (1korrago(AT)freenet.de), Sep 07, 2001
EXTENSIONS
a(10)-a(11) from Donovan Johnson, Nov 30 2010
STATUS
approved