Pandiagonal magic squares are magic squares, where also the broken diagonals sum to the magic constant. This means when you go off of one edge on a diagonal, continue (wrap-around) to the corresponding cell on the opposite edge. These squares are considered as one of the top classes of magic squares.
17 | 46 | 12 | 55 | 54 | 9 | 47 | 20 |
16 | 51 | 21 | 42 | 43 | 24 | 50 | 13 |
53 | 10 | 48 | 19 | 18 | 45 | 11 | 56 |
44 | 23 | 49 | 14 | 15 | 52 | 22 | 41 |
25 | 64 | 2 | 39 | 62 | 27 | 37 | 4 |
8 | 33 | 31 | 58 | 35 | 6 | 60 | 29 |
63 | 26 | 40 | 1 | 28 | 61 | 3 | 38 |
34 | 7 | 57 | 32 | 5 | 36 | 30 | 59 |
This pandiagonal magic square of order 8 has magic sum 260. Inlaid are four other pandiagonal magic squares of order 4 with magic sum 130.