original_query: What is a magic hypercube?
query: What is a magic hypercube?
answer: A magic hypercube is a k-dimensional generalization of magic squares and magic cubes.  It's an n × n × n × ... × n array of integers where the sums of the numbers on each pillar (along any axis) and on the main space diagonals are all the same. This common sum is called the magic constant.