A pandiagonal magic square or panmagic square (also diabolic square, diabolical square or diabolical magic square) is a magic square with the additional property that the broken diagonals, i.e. the diagonals that wrap round at the edges of the square, also add up to the magic constant.
A pandiagonal magic square remains pandiagonally magic not only under rotation or reflection, but also if a row or column is moved from one side of the square to the opposite side. As such, an n×n pandiagonal magic square can be regarded as having 8n2 orientations.
Read more about Pandiagonal Magic Square: 4×4 Panmagic Squares, 5×5 Panmagic Squares
Famous quotes containing the words magic and/or square:
“And thus they sang their mysterious duo, sang of their nameless hope, their death-in-love, their union unending, lost forever in the embrace of nights magic kingdom. O sweet night, everlasting night of love! Land of blessedness whose frontiers are infinite!”
—Thomas Mann (18751955)
“Houses haunt me.
That last house!
How it sat like a square box!”
—Anne Sexton (19281974)