arXiv++ Combinatorics

Browse math.CO papers from arXiv

Papers by Kyle Elliott Mathewson

3 paper(s) by this author · All BibTeX
2026-11-09 v2
Moments of Magic Squares: Line-Sum Conditions, a Permutation Threshold, and Random Energies
Every semi-magic square of order $n$ satisfies the axial moment identities $\sum_{i,j}s_{ij}j^m=\sum_{i,j}s_{ij}i^m=M(n)\sum_jj^m$ for all $m\ge1$, where $M(n)=n(n^2+1)/2$. For real matrices the converse requires $1\le m\le n-1$, whereas for arrangements of $\{1,\dots,n^2\}$ fewer moments suffice once $n\ge14$. We define the permutation threshold $k^*(n)$ as the least $k$ such that every arrangement satisfying these identities for $1\le m\le k$ is semi-magic. In terms of the column-sum deviations $γ_j$, the degree-$k$ conditions state that $\sum_jγ_jt^j$ is divisible by $(t-1)^{k+1}$, linking $k^*(n)$ to the Prouhet--Tarry--Escott problem. While Schur's bound on real zeros gives $k^*(n)\le\sqrt{2(n-1)\log(n^4/4)}$, we prove the converse realisability bound $k^*(n)\ge(\sqrt2-o(1))\sqrt n$ (and $k^*(n)\ge(\sqrt6-o(1))\sqrt n$ when $4\mid n$) by perturbing semi-magic squares with complementary row pairs via horizontal swaps. We also show that $k^*(n)=n-1$ for $3\le n\le13$, $k^*(n)=n-2$ for $14\le n\le17$, and $k^*(n)\le n-3$ for $n\ge18$, and determine $k^*(n)$ for $18\le n\le40$ with computer assistance. Finally, at the $k=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 $E_{\mathrm{full}}$, for the four-term energy $E_4$ combining the first moments and the two diagonals, and for Loly's moment of inertia, and find that $|L_4|=14,639,440$ arrangements of order $4$ satisfy $E_4=0$.
2026-11-02
Balance in Inequality: Testing the Physical Equilibrium, Precession, and Structural Stability of Magic Gems
A magic square exemplifies balance in inequality: its $n^2$ entries $\{1,\dots,n^2\}$ are distinct, yet every row, column, and main diagonal sums to $μ_n=n(n^2+1)/2$. Lifting centred grid cells into $\mathbb{R}^3$ as radial vectors $\mathbf{p}_{ij}(λ)=(x_j,y_i,λz_{ij})$ and taking their convex hull---the Magic Gem $\mathcal{G}_λ(S)$---asks: when does line-sum equality suffice for equilibrium in 3D, and when a nonlinear realization breaks balance, how can an opposing inequality restore it? We test this across all $880$ order-$4$ magic squares in four regimes. For radial spokes from $O$, natural lengths balance identically, while unit spokes break equilibrium on all $832$ non-associative squares in 3D and on all squares in 2D, where the ring-radius ratio $r_2/r_1=\sqrt{5}$ bounds the resultant below by the Pell convergent $9/4\approx\sqrt{5}$. By length--weight duality, balance is restored via tip weights $\mathbf{w}^*>\mathbf{0}$ on $S^2$ or power-law spoke scaling ($r^{α^*}$ in 2D and $(\mathbf{V}_3)_z=0$ in 3D). In 3D rotation, equal point masses make every semi-magic square an axisymmetric top with spherical-top transition $λ_{\mathrm{iso}}=(n^2+1)^{-1/2}$, whereas entry masses $m_{ij}=s_{ij}$ expose the quadrupole $Q_{xy}=\sum z_{ij}x_jy_i$, triggering $180^\circ$ Dzhanibekov flips on $824$ squares. Passing to the uniform solid hull $\mathcal{G}_0(S)$ shifts the centroid off $O$ on $829$ squares; re-engaging the opposing core $\mathcal{G}_1(S)$ restores balance via two-density inclusions, nested wireframes, or the $K_{n^2}$ strut network, while all $880$ hulls unfold into non-overlapping nets with $f_0-1$ glue tabs. Finally, $λ=1/5$ stabilizes $74.5\%$ of facets on a table, and alternating $\mathcal{G}_λ(S)$ with its mirror twin $\mathcal{G}_λ(r^2\overline{S})=-\mathcal{G}_λ(S)$ locks chiral blocks into a vertical tower.
2026-10-28 v5
Magic Gems: Convex Hulls of Lifted Magic Squares
Given an arrangement of $\{1,\dots,n^2\}$ in an $n\times n$ grid, we lift each cell to $\mathbb{R}^3$ by centring its grid coordinates $(x,y)$ at the origin and taking its centred entry $z = s_{ij} - (n^2+1)/2$ as a vertical height. The convex hull of these $n^2$ points is the gem of the arrangement, whose lower and upper boundaries are the regular subdivisions of the grid induced by $\pm z$. While random arrangements and generic linear magic squares have gems whose vertex counts grow with $n$, our main theorem shows that the classical Siamese (de la Loubère) magic square of every odd order $n\ge5$ has $f$-vector $(12,26,16)$, isometry group $\{\pm\mathrm{id}\}$, and only the twelve vertices forced by the boundary of the grid. The proof shears the lift onto five horizontal terraces and reduces the hull calculation to a finite table of polynomials in $m=(n-1)/2$; the same method gives $f$-vector $(12,24,14)$ for the base-$n$ digit-exchanged square. Along any family of linear squares with fixed steps the $f$-vector is eventually periodic in $n$, whereas over all linear magic squares of prime order $n$ the maximum vertex count grows as $Θ(\ln n)$. Whenever the heights have vanishing first moments, a short principal-axes argument shows that the point set has a non-trivial isometry if and only if the arrangement is self-complementary up to dihedral symmetry. An exact census of the $880$ magic squares of order four yields $616$ congruence classes and $352$ combinatorial types of gems, and shows that while vertex and facet counts are nearly insensitive to the magic line-sum conditions, the volume and solid centroid shift systematically.