← RoseCode

ROSECODE 473

Magic Prime Square

Philippe_57721 · Programming ·

[11294373316717416113592353473719] is the first (in lexicographic order) 4×4 magic square using the smallest distinct prime numbers >10.

Find the first (in lexicographic order) 4×4 magic square using the smallest distinct prime numbers >100.

Answer format: comma separated list of the matrix elements

Example : 11,29,43,73,31,67,17,41,61,13,59,23,53,47,37,19

[My timing : 70 sec]