Generating key points…
Answers are grounded in this paper and cite their sources.
Shared-side data give an exact count of rectangular arrays in which at least one pair of neighbouring squares has the same circular orientation. With six labels, all such contacts lie on complete, parallel seams separated by at least one row or column of squares. With eight labels, two contacts can meet at a square, and each connected group of contacts has at most two edges. These restrictions follow from how much of the total cyclic gap around a square a shared side can use. A square is a \(2×2\) block of array entries. Its four labels lie in \( Z/q Z\), with \(q=6\) or \(8\). The labels must be distinct and encountered in increasing cyclic order in one of the two compass directions. Give clockwise squares sign \(+\) and anticlockwise squares sign \(-\). Neighbours share a full side. The count uses the source divisors \(12\) and \(16\) for six and eight labels respectively. If either array dimension is \(1\), the count is zero. For six labels, assign an excess \(e∈\{0,1,2\}\) to every side, including boundary sides, so that the four excesses around each square sum to \(2\). The cyclic gap along a side in the increasing traversal is \(1+e\). A shared side with \(e=0\) or \(1\) forces opposite signs. A shared side with \(e=2\) allows either sign relation, since the gap \(3\) has the same residue in both directions modulo \(6\). Form the graph whose vertices are the squares and whose edges are the shared sides with \(e=0\) or \(1\). If it has \(c\) connected components, multiplying the square signs by a fixed checkerboard sign pattern makes the resulting signs constant on each component. Of the \(2^c\) choices, precisely two give alternation everywhere. Thus the count for any rectangle containing a square is \[∑admissible excess assignments(2ᶜ⁻¹-1). \] Each eligible choice also gives an explicit array. Choose one vertex label and use the directed gaps \(1+e\) to obtain the other labels modulo \(6\). The shared increments agree and the sum around each square is zero modulo \(6\), so the result is independent of the path. An equal-sign contact consumes both units of excess at each incident square. The contacts therefore have disjoint endpoints. Around each elementary cycle of four square centres, changes in the signs after multiplication by the checkerboard occur in opposite pairs. This forces each contact to extend across the rectangle as a complete seam. Perpendicular seams or consecutive parallel seams would share an endpoint. For eight labels, fix a reference checkerboard of signs and direct each side along its reference traversal. The two reference traversals agree on the arrow of each shared side. Assign a positive residue \(g_e∈\{1,…,7\}\) to each arrow \(e\). Keep assignments for which the sum of the four residues at every square is \(8\) or \(24\). A sum of \(8\) gives the reference orientation. A sum of \(24\) gives the reverse orientation, whose four gaps are \(8-g_e\) and sum to \(8\). The residues determine the labels modulo \(8\) once one vertex label is chosen. Neighbours have equal signs exactly when their sums differ. By connectedness, the required count is half the number of assignments using both sums. Complementing all residues by \(g_e↦8-g_e\) exchanges the two sums and pairs the eligible assignments. An eight-label square has four units of gap excess above \(1\), and its largest possible gap is \(5\). At an equal-sign contact the two gaps along the shared side add to \(8\), so each is at least \(3\). A square meeting two contacts must use gap \(3\) at both, leaving its neighbours with gap \(5\) and no excess for another contact. Every connected group of contacts is therefore a single edge or a two-edge path. The array \({pmatrix}0&7&6\\1&4&5\\2&3&6{pmatrix}\) exhibits a two-edge path. Its upper-left square agrees with both its neighbours, and its lower-right square has the opposite orientation. A common row transfer computes both counts. Fix a physical width \(w≥2\) and height \(n+1\), with \(n≥1\). Use row states with first entry \(0\), obtained by subtracting the first entry from every label in a row modulo \(q\). For each such upper row \(r\), enumerate all labelled lower rows \(b∈( Z/q Z)^w\). For each \(j=1,…,w-1\), take the four successive differences around \((r_j,rⱼ₊₁,bⱼ₊₁,b_j)\), including the return to \(r_j\), as residues in \(\{0,…,q-1\}\). They must all be positive. Their sum must be \(q\) for sign \(+\) or \(3q\) for sign \(-\). For every lower row passing these tests, add one to the entry of \(T\) from \(r\) to the normalised \(b\). To construct \(B\), keep only the slab sign vector \((+,-,+,…)\) and use the normalised \(-b\) as the next state. Negation reverses the signs, so this transition accounts for the change of frame between successive slabs of a checkerboard. The other checkerboard has the same count by global label negation. The row compatibility test and translation reduction carry over from the five-label case. Subtracting the two checkerboards gives the exact count with at least one equal-sign pair, \[a_n=12(1^ T^n1-21^ B^n1), \] where \(1\) is the all-ones vector on the row states of the corresponding matrix. The factor \(1/2\) comes from the \(q\) choices of initial label and division by \(2q\). For the first three columns of the six-label table, the question was whether the signed recurrences hold throughout their stated ranges and whether the Barker and Mathar generating functions give the exact series. The recurrences hold at physical widths \(2,3,4\), with least orders \(6,10,39\) and first valid indices \(7,11,40\), respectively. The proof also identifies the Barker width-two and Mathar width-three functions with the corresponding exact series. OEIS A183729, columns 1–3 and sequences A183721–A183723. For the first two columns of the eight-label table, the question was whether the empirical signed recurrences continue at every index and where they first hold. At physical widths \(2,3\), they hold with least orders \(9,31\) and first valid indices \(10,32\), respectively. OEIS A183738, columns 1–2 and sequences A183730–A183731. To compute the exact recurrence and generating function for any of these five columns, take its least order \(d\) and use the transfer to compute \(a_1,…,a2d\). The signed coefficients \(c_1,…,c_d\) are the unique rational solution of \[∑ⱼ₌₁^d c_j ad+i-j=ad+i, i=1,…,d. \] Then \(a_n=∑ⱼ₌₁^d c_j aₙ₋ⱼ\) for every \(n≥ d+1\). With \(x\) a formal variable, the positive-index generating function is \[∑n≥1a_nx^n={∑ₖ₌₁^d(a_k-∑ⱼ₌₁ᵏ⁻¹c_j aₖ₋ⱼ)x^k}{ 1-∑ⱼ₌₁^d c_jx^j}. \] The numerator and denominator are coprime. The coefficients of \(x^d\) in the numerator are \(1,-1,-11\) for the three six-label columns and \(3,-8\) for the two eight-label columns, in increasing width. These nonzero coefficients mark the sharp starts. The side descriptions and transfer apply at all positive rectangle dimensions, with the stated recurrence orders and starts specific to the five listed columns.
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: