Magic cube classes
In mathematics, a magic cube of order n {\displaystyle n} is an n × n × n {\displaystyle n\times n\times n} grid of natural numbers satisfying the property that the numbers in the same row, the same column, the same pillar or the same length- n {\displaystyle n} diagonal add up to the same number. It is a 3 {\displaystyle 3} -dimensional generalisation of the magic square.