A368676 Number of 4 X 4 prime magic squares with magic sum 2n.
128, 0, 0, 160, 0, 0, 224, 0, 64, 384, 64, 192, 2112, 96, 224, 4768, 0, 480, 5472, 160, 1088, 6688, 160, 1632, 13600, 416, 1728, 24640, 544, 3008, 40736, 512, 6720, 45504, 672, 11776, 41984, 2752, 17888, 65760, 4416, 18688, 128544, 4544, 21888, 162240, 3712
Offset: 60
Keywords
Examples
[17, 11, 31, 61] [43, 67, 3, 7] [41, 37, 13, 29] [19, 5, 73, 23] is a 4 X 4 prime magic square in which the elements in each row and column and both diagonals sum to 120 and all elements are prime numbers. There are a total of 128 such prime magic squares so a(60)=128.
Links
- Eric Weisstein's World of Mathematics, Prime Magic Square.