OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Prime Magic Square
PROG
(PARI) A272387(n)=MagicPrimes(A177434(n), 6)[1] \\ See A073519 for MagicPrimes(). - M. F. Hasler, Oct 28 2018
(PARI) is_candidate(p, N=6)={denominator(p=A177434(, p, N))==1 && !bittest(p-N, 0)} \\ This necessary condition is also sufficient for all primes up to and beyond the limit of the terms displayed in DATA. - M. F. Hasler, Oct 30 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Arkadiusz Wesolowski, Apr 28 2016
STATUS
approved