login
A270830
Smallest of n^2 consecutive primes that form an n X n semimagic square with the least magic sum, or 0 if no such magic square exists.
1
2, 0, 21821, 5, 13, 7, 7, 79, 37, 23, 67, 89, 13, 89, 131, 31, 71, 47, 43, 73, 277, 353, 41, 67, 127, 223, 79, 13, 193, 5, 23, 43, 5, 67, 3, 19, 5, 59, 59, 653, 19, 19, 97, 409, 5, 383, 29, 137, 379, 349, 653, 1187, 47, 41, 37, 17, 619, 89, 283, 283, 43, 479, 191
OFFSET
1,1
COMMENTS
a(n) <= A104157. For n = 3 and 4, a(n) is different from A104157(n).
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved