In a 4x4 magic square all rows, columns and the two main diagonals are distinct 4-digit prime numbers when read in either direction.

Create such a square.

Bonus (d4): same for order-5 magic square and 5-digit primes.

Based on
L. E. Card,Patterns in Primes, JRM 1:2, 1968, pp .93-99,

(In reply to

re: From the computer -semi-spoiler by Charlie)

Hi, Brian & Charlie,

I **MISLEAD** YOU GUYS, the squares are neither **magic **nor

__Latin. __

T__HEY ARE "SPECIAL" **__

judging from the sum (=70), Brian's solution is OK.

There is only one (discounting reflexion and rotation) solution for 4X4 and three(discounting reflexion and rotation) different solutions for 5X5.

Go for them , B&C.!!

****Sorry for using a wrong word , which has a well-defined meaning.**