Magic Gems: A Polyhedral Framework for Magic Squares
Kyle Elliott Mathewson

TL;DR
This paper introduces Magic Gems, a geometric framework representing magic squares as polyhedra, and characterizes them through a statistical energy functional, providing a novel orthogonality condition and insights into their geometric and energetic properties.
Contribution
It presents a new polyhedral geometric representation of magic squares and a covariance-based energy functional that characterizes their structure for all orders n ≥ 3.
Findings
Magic squares have vanishing covariances between position and value.
The covariance energy functional vanishes if and only if the square is magic for n ≥ 3.
Magic squares are local minima in the energy landscape.
Abstract
We introduce Magic Gems, a geometric representation of magic squares as three-dimensional polyhedra. By mapping an n times n magic square onto a centered coordinate grid with cell values as vertical displacements, we construct a point cloud whose convex hull defines the Magic Gem. Building on prior work connecting magic squares to physical properties such as moment of inertia, this construction reveals an explicit statistical structure: we show that magic squares have vanishing covariances between position and value. We develop a covariance energy functional (the sum of squared covariances with individual row, column, and diagonal indicator variables) and prove that for all orders of n greater than or equal to three, an arrangement is a magic square if and only if this complete energy vanishes. This characterization transforms the classical line-sum definition into a statistical…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGraph Labeling and Dimension Problems · Data Visualization and Analytics · Topological and Geometric Data Analysis
