Algebraic Classification of All 880 Fourth-Order Magic Squares and the Discovery of Complete Alternating Magic Squares
Kenichi Takemura

TL;DR
This paper introduces the Alternating Power Difference (APD), an algebraic invariant for classifying 4x4 magic squares, revealing new algebraic structures and identifying rare complete alternating magic squares through exhaustive computational analysis.
Contribution
The paper defines a novel algebraic invariant (APD) and uses it to classify all 880 normal 4x4 magic squares, discovering rare complete alternating magic squares and refining existing classifications.
Findings
Magic squares are categorized into three classes based on APD first appearance degree.
Complete alternating magic squares have vanishing APD at all degrees.
APD-based classification refines classical geometric classifications.
Abstract
In this paper, we introduce a newly defined algebraic invariant for square matrices termed the \emph{Alternating Power Difference (APD)}. The APD is defined as the signed sum of the powers of diagonal sums along permutations of the symmetric group, distinguishing between even and odd permutations. It serves as a measure of the broken even-odd symmetry inherent in a matrix through higher-order moments. We applied this invariant to all 880 essentially different normal magic squares (excluding symmetries) and defined the \emph{First Appearance Degree} as the minimum power at which the APD first becomes non-zero. Through an exhaustive computational search, we found that these magic squares are categorized into three clearly separated classes: (240 squares), (624 squares), and (16 squares). In particular, the case identifies…
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 · graph theory and CDMA systems · Advanced Combinatorial Mathematics
