Pandiagonal magic cube

ID: pandiagonal-magic-cube

A **pandiagonal magic cube** is a three-dimensional extension of the concept of a magic square. In a magic square, the numbers in each row, column, and diagonal sum to the same constant (known as the magic constant). A pandiagonal magic square also requires that the sums of certain "broken" diagonals (diagonals that wrap around the edges of the square) equal the magic constant.

New to topics? Read the docs here!