Indexed metadata

Moments of Magic Squares: Line-Sum Conditions, a Permutation Threshold, and Random Energies

Kyle Elliott Mathewson

Source record

Source: arXiv

Published: Oct 28, 2026

arXiv: 2610.38386

Open original source ↗

Source abstract

Every semi-magic square of order nn satisfies the axial moment identities ∑i,jsijjm=∑i,jsijim=M(n)∑jjm\sum_{i,j}s_{ij}j^m=\sum_{i,j}s_{ij}i^m=M(n)\sum_jj^m for all m≥1m\ge1, where M(n)=n(n2+1)/2M(n)=n(n^2+1)/2. For real matrices the converse requires 1≤m≤n−11\le m\le n-1, whereas for arrangements of {1,…,n2}\{1,\dots,n^2\} fewer moments suffice once n≥14n\ge14. We define the permutation threshold k∗(n)k^*(n) as the least kk such that every arrangement satisfying these identities for 1≤m≤k1\le m\le k is semi-magic. In terms of the column-sum deviations γjγ_j, the degree-kk conditions state that ∑jγjtj\sum_jγ_jt^j is divisible by (t−1)k+1(t-1)^{k+1}, linking k∗(n)k^*(n) to the Prouhet--Tarry--Escott problem. While Schur's bound on real zeros gives k∗(n)≤2(n−1)log⁡(n4/4)k^*(n)\le\sqrt{2(n-1)\log(n^4/4)}, we prove the converse realisability bound k∗(n)≥(2−o(1))nk^*(n)\ge(\sqrt2-o(1))\sqrt n (and k∗(n)≥(6−o(1))nk^*(n)\ge(\sqrt6-o(1))\sqrt n when 4∣n4\mid n) by perturbing semi-magic squares with complementary row pairs via horizontal swaps. We also show that k∗(n)=n−1k^*(n)=n-1 for 3≤n≤133\le n\le13, k∗(n)=n−2k^*(n)=n-2 for 14≤n≤1714\le n\le17, and k∗(n)≤n−3k^*(n)\le n-3 for n≥18n\ge18, and determine k∗(n)k^*(n) for 18≤n≤4018\le n\le40 with computer assistance. Finally, at the k=1k=1 level of the hierarchy, we specialise the Mantel--Hubert quadratic assignment variance formula to obtain exact means, variances, and limit laws under a uniform random arrangement for the full line-sum energy EfullE_{\mathrm{full}}, for the four-term energy E4E_4 combining the first moments and the two diagonals, and for Loly's moment of inertia, and find that ∣L4∣=14,639,440|L_4|=14{,}639{,}440 arrangements of order 44 satisfy E4=0E_4=0.

Evidence graph

No public relationships recorded yet.

Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.

Moments of Magic Squares: Line-Sum Conditions, a Permutation Threshold, and Random Energies — Mathematical Frontier Network