arXiv · 0907.3188
Enumeration of $4 \times 4$ Magic Squares
Abstract
A \emph{magic square} is an $n \times n$ array of distinct positive integers whose sum along any row, column, or main diagonal is the same number. We compute the number of such squares for $n=4$, as a function of either the magic sum or an upper bound on the entries. The previous record for both functions was the $n=3$ case. Our methods are based on inside-out polytopes, i.e., the combination of hyperplane arrangements and Ehrhart's theory of lattice-point enumeration.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Matthias Beck, Andrew Van Herick. 2009-08-31. Enumeration of $4 \times 4$ Magic Squares. https://arxiv.org/abs/0907.3188
Cite the original work for its findings. Save a collection to share your selection of sources.