paper

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

arXiv:2610.38386

Abstract

Every semi-magic square of order satisfies the axial moment identities for all , where . For real matrices the converse requires , whereas for arrangements of fewer moments suffice once . We define the permutation threshold as the least such that every arrangement satisfying these identities for is semi-magic. In terms of the column-sum deviations , the degree- conditions state that is divisible by , linking to the Prouhet--Tarry--Escott problem. While Schur's bound on real zeros gives , we prove the converse realisability bound (and when ) by perturbing semi-magic squares with complementary row pairs via horizontal swaps. We also show that for , for , and for , and determine for with computer assistance. Finally, at the 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 , for the four-term energy combining the first moments and the two diagonals, and for Loly's moment of inertia, and find that arrangements of order satisfy .

arXiv comment27 pages, 3 figures, 5 tables; ancillary verification scripts and certificates in anc/