arXiv++ Combinatorics

Browse math.CO papers from arXiv

Enumeration of $4 \times 4$ Magic Squares

Published: 2009-07-18 | Updated: 2009-08-31
Comments: 4 pages, accompanying software IOP at http://iop.sourceforge.net/, to appear in Math. Comp
Journal: Mathematics of Computation 80 (2011), 617-621

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.

BibTeX

Loading...