Exact strip laws for prescribed six-pair energies of integer squares
When the energy of a square includes both diagonals as well as its four edges, the local rule depends only on the four labels and is invariant under every permutation of them. The strip counts still depend on how neighbouring squares share those labels. At squared energy 11, for example, the least recurrence order for a strip two squares wide is 6, 11, 15 or 18 when the palette contains three, four, five or six labels, respectively. Let \(n,k\ge 1\) be integers and take a free \((n+1)\times(k+1)\) array of cells labelled from \(\{0,\ldots,q-1\}\). The strip contains \(n\) by \(k\) adjacent \(2\times2\) squares. There is no wrapping, the boundary labels are unrestricted, and repeated labels are allowed. For the four entries \(x=(x_1,x_2,x_3,x_4)\) of each square, impose exactly one of the two energy rules \[E_{\rm abs}(x)=\sum_{1\le i<j\le4}|x_i-x_j|, \qquad E_{\rm sq}(x)=\sum_{1\le i<j\le4}(x_i-x_j)^2 =4\sum_{i=1}^{4}x_i^2-\left(\sum_{i=1}^{4}x_i\right)^2. \] The energy must equal the prescribed integer \(e\) on every square. For sorted entries \(u_1\le u_2\le u_3\le u_4\), the absolute energy is \(3(u_4-u_1)+(u_3-u_2)\). Thus the allowed pairs of span and middle gap are \((4,3)\) and \((5,0)\) at absolute energy 15 on six labels, and \((6,3)\) and \((7,0)\) at absolute energy 21 on eight labels. For fixed \(q,E,e,k\), index a matrix \(T\) by all \(q^{k+1}\) labelled row words. For row words \(r=(r_0,\ldots,r_k)\) and \(s=(s_0,\ldots,s_k)\), set \(T_{rs}=1\) if \(E(r_{j-1},r_j,s_j,s_{j-1})=e\) for every \(1\le j\le k\), and set it to zero otherwise. Each legal ordered row pair has weight one. With \(\mathbf1\) the all-ones column vector, the number of strips of length \(m\ge1\) is \[A_m=\mathbf1^{\mathsf T}T^m\mathbf1. \] Hardin's eight OEIS entries give signed recurrence formulas for the widths below. In every listed case the native coefficients \(c_1,\ldots,c_d\) satisfy \[A_n=\sum_{j=1}^{d}c_j A_{n-j}\qquad\text{for every integer }n\ge d+1. \] The order \(d\) is least even among constant-coefficient recurrences allowed to start arbitrarily far along the sequence. The table specifies each row graph and gives the first initial value \(A_1\), which equals the number of legal ordered row pairs. To obtain the complete initial vector and the exact signed lag vector for any entry, compute \(A_1,\ldots,A_{2d}\) using that row graph. Take \((A_1,\ldots,A_d)\) as the initial vector and solve \[H(c_d,\ldots,c_1)^{\mathsf T}=(A_{d+1},\ldots,A_{2d})^{\mathsf T}, \qquad H_{ij}=A_{i+j-1}\quad(1\le i,j\le d). \] Each listed determinant residue is nonzero, so this construction recovers the signed coefficients uniquely by exact arithmetic, including any zero lags. It requires \(2d\) matrix–vector products and one \(d\times d\) linear solve once the graph is built. For the three-label strip of width one, the initial vector is \((24,76)\) and the signed lag vector in increasing lag order is \((0,10)\). Energy ruleLabels \(q\)Widths \(k\)Row wordsLegal ordered row pairs \(=A_1\)Least orders \(d\)First recurrence lengths \(d+1\)\(\det H\) modulo \(10^9+7\)Original formulasSquared, 1131–59, 27, 81, 243, 72924, 76, 240, 760, 24002, 6, 12, 29, 523, 7, 13, 30, 53999999991, 782034893, 374810427, 164898442, 662963035A233883, FORMULA at width 1 and A233877–A233880 at widths 2–5Squared, 1141–316, 64, 25648, 188, 7204, 11, 345, 12, 3589718784, 751365516, 241766226A233792, FORMULA and A233785–A233787Squared, 1151–325, 125, 62572, 308, 12484, 15, 565, 16, 57390818802, 961946647, 241754704A234217, FORMULA and A234210–A234212Squared, 1161–336, 216, 129696, 428, 18246, 18, 787, 19, 79533395332, 881790584, 860842A233818, FORMULA and A233811–A233813Squared, 3571–349, 343, 2401144, 656, 26886, 26, 697, 27, 70956924222, 48917940, 164968680A233903, FORMULA and A233897–A233899Squared, 5981–264, 512216, 104014, 6815, 69930958752, 119211644A233859, FORMULA and A233853–A233854Absolute, 1561–236, 216104, 44010, 3511, 36480683797, 591605597A234208, FORMULA and A234201–A234202Absolute, 2181–264, 512224, 117614, 7115, 72384209219, 712989212A233875, FORMULA and A233869–A233870 All lists in a row follow increasing width. For each signed lag vector, set \(v_0=\mathbf1\) and \(v_j=Tv_{j-1}-c_j\mathbf1\) for \(1\le j\le d\). For \(n\ge d+1\), the signed residual \(A_n-\sum_{j=1}^d c_jA_{n-j}\) is \(\mathbf1^{\mathsf T}T^{n-d}v_d\), and the exact identity \(Tv_d=0\) holds in every listed graph. Every shifted \(d\times d\) Hankel block \((A_{h+i+j-2})_{1\le i,j\le d}\) has rank \(d\) for integer \(h\ge1\). For the six-label, energy-11 strip, Robert Israel had already proved the width-three order-78 identity on a reduced 418-state graph in 2019. The new results there establish validity at widths one and two, the least orders at all three widths, the generating function and the single-square tie. A233813, Robert Israel's 2019 Maple certificate For the original single-square maximisation questions, count each ordered assignment of four labels to cells once and group the \(q^4\) assignments by \(E_{\rm sq}\). Energy 11 is the unique maximiser on three, four and five labels, with 24, 48 and 72 assignments respectively. On six labels, precisely 11, 27 and 35 tie at 96 each. On seven labels, precisely 35 and 59 tie at 144 each. On eight labels, 59 is the unique maximiser, with 216 assignments. The energy-11 counts can also be read directly from the two possible sorted patterns, \((a,a,a+1,a+2)\) and \((a,a+1,a+2,a+2)\), for \(0\le a\le q-3\). Each has 12 orderings, giving \(24(q-2)\) assignments at energy 11. The ties concern one square; the strip recurrences apply to the fixed energy in each table row. For squared energy write \(F_{q,e,k}(z)=\sum_{n\ge1}A_n z^n\), where \(z\) is a formal variable and the coefficient of \(z^n\) counts length \(n\). The recorded rational series, including Colin Barker's formulas, are exact. \[\begin{aligned} F_{3,11,1}(z)&=\frac{24z+76z^2}{1-10z^2},\\ F_{3,11,2}(z)&=\frac{4z(19+18z-280z^2+86z^3+172z^4-64z^5)}{(1-3z+z^2)(1-20z^2+12z^4)},\\ F_{4,11,1}(z)&=\frac{4z(12+47z-36z^2-132z^3)}{1-18z^2+40z^4},\\ F_{5,11,1}(z)&=\frac{4z(18+77z-120z^2-512z^3)}{1-24z^2+112z^4},\\ F_{6,11,1}(z)&=\frac{4z(24+107z-264z^2-1176z^3+312z^4+1392z^5)}{1-30z^2+220z^4-240z^6},\\ F_{7,35,1}(z)&=\frac{16z(9+41z-228z^2-1036z^3+1280z^4+5760z^5)}{(1-4z)(1+4z)(1-8z^2)(1-20z^2)}. \end{aligned} \] For any listed strip, put \(Q(z)=1-\sum_{j=1}^d c_jz^j\). Its positive-length generating function is obtained by taking the terms of degrees 1 through \(d\) in \(Q(z)\sum_{m=1}^d A_m z^m\) and dividing that polynomial by \(Q(z)\). The row construction also counts strips at other widths, while the certified recurrence orders and starting lengths apply to the widths in the table. Original problem sources. https://oeis.org/A234217/internal https://oeis.org/A234208/internal https://oeis.org/A233792/internal https://oeis.org/A233883/internal https://oeis.org/A233859/internal https://oeis.org/A233903/internal https://oeis.org/A233875/internal https://oeis.org/A233818/internal
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24798617
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint