Pandiagonal Magic Squares of Order Five
Pandiagonal Magic Squares of Order Five
A magic square has the same sums for the numbers in the rows, columns, and main diagonals. In a pandiagonal magic square, the square can be rotated as if the edges were wrapped around (like a rubber square sheet can be made into a torus), and the main diagonals will still add up to the same magic sum (65 here). All of the 5×5 pandiagonal magic squares can be generated by adding together two sets of permutations.
Details
Details
By one count, there are 3600 order-5 pandiagonal magic squares[1]. If you would like to generate all 275,305,224 order-5 magic squares, try[2].
References
References
External Links
External Links
Permanent Citation
Permanent Citation
Ed Pegg Jr
"Pandiagonal Magic Squares of Order Five"
http://demonstrations.wolfram.com/PandiagonalMagicSquaresOfOrderFive/
Wolfram Demonstrations Project
Published: February 18, 2016