Precise statements and proofs
Use the manuscript’s definitions. For , counts labelled arrays over . In each adjacent square , the integers must be pairwise distinct. Put and define
We state the main answer first, prove the local classification, graph decomposition and count in that order, and finish with two consequences. The written proofs below expand the arguments in Haobo Ma and Wenlin Zhang’s version 2 manuscript.
#block(breakable: false)[
For all ,
In particular, satisfies
and, as a formal power series,
]
The eight squares
Four distinct differences from sum to zero, so they must be . The and edges cannot be opposite. For example, if the top edge is and the clockwise bottom edge is , both rows are and the remaining differences are both zero; rotations cover the other positions. These edges must therefore meet at an extreme entry, or . The remaining vertex must be to supply differences and . This gives exactly eight tuples :
Direct subtraction verifies every listed square, proving sufficiency as well as necessity. The adjacency graph of column cards is exactly
In particular, different neighbors of a card have different upper entries.
Structure of the row graph
The vertices of are all rows of length ; two are adjacent if they can be stacked. Interchanging the rows permutes and negates the differences, so adjacency is symmetric. A repeated row would have two zero vertical differences, ruling out loops. An array corresponds bijectively to a walk of length with specified starting vertex. Walks may repeat edges and vertices.
#block(breakable: false)[
For every , the nonisolated part of is the disjoint union of two copies of and copies of .
]
Write , truncated to length . The card graph gives
For example, with as the upper row the first column card can only be or . The former forces the next card to be ; the latter forces because its upper entry must be . Continuing determines the two possible lower rows. Interchanging gives the other star. All six rows are distinct since .
Take any row with a neighbor. Its adjacent entries are unequal by the eight-square list. If it has no , it must be or . Otherwise an adjacent pair involves , as the row has at least two entries. In the list, upper pairs have unique lower pairs , respectively. Once that pair is fixed, extend in either direction. The next card’s upper entry is prescribed, and the current card has at most one neighbor with that upper entry. Thus the entire neighboring row is unique whenever it exists. The four displayed leaves do have neighbors, hence have degree one. Outside these stars, every nonisolated component is .
To count them, a single has walks of length : from each starting vertex. At length , the center contributes and each leaf , totaling . Thus two stars have walks of every positive length .
Reading the same two-row array by rows gives a directed edge of ; reading it by columns gives a -step walk in the card graph. This is a bijection, so has directed edges. Its two stars account for eight; each remaining accounts for two. There are such components. At this number is zero, and the argument still applies.
#block(breakable: false)[
Proof of the main formula
Apply Lemma 2.2. For isolated vertices contribute nothing, the two stars contribute walks, and each contributes two, one from each starting end. Hence
Set , so , to obtain the parity formulas. Summing the odd and even geometric series gives
Thus . The common numerator is , as asserted. Both denominator factors have constant term one and are invertible in the formal power-series ring; no analytic convergence assumption is required.
]
Exact formal scope for five columns
The following is the five-column specialization of Theorem 2.1, together with the recurrence in manuscript §3. It does not assert arbitrary-width formalization.
#block(breakable: false)[
Let , valued in the rationals. For every ,
For every ,
There exists with constant coefficient zero and coefficient at for every . Every such satisfies
]
The parity formulas follow from . The identity gives for . Subtract consecutive instances to obtain , which is the stated recurrence. Constructing the series by its coefficients gives existence, and the common-denominator calculation above gives its identity. The linked Lean theorem states all these clauses directly; its recurrence index is the same range as . Although Lean defines its count for every natural input, the series constant coefficient is specified separately as zero; it is not the array count at divided by four.
Three columns and integer triangles
Write here to distinguish it from the five-column . Manuscript Corollary 1 calls this three-column sequence .
#block(breakable: false)[
For , the three-column sequence A209721 satisfies
For ,
For , also counts nondegenerate integer triangles with two specified side lengths , meaning the number of positive integer choices for the third side.
]
Set in Theorem 2.1. Since , . The defining sequence A029744 gives , proving Beck’s first conjecture. Since for , we obtain , Peterson’s recurrence.
The parity formulas make the sequence strictly increasing: and . Put . The strict triangle inequalities for the third side are equivalent to . Hence ranges over all integers from through , giving choices. The endpoints would be degenerate and are excluded. At the first index , the specified sides are and the third side can be : five choices, agreeing with .
Square grids
#block(breakable: false)[
For every , the diagonal of A209727 satisfies
]
Set in Theorem 2.1 to obtain . At even indices this is ; at odd indices it is . These are the defining parity formulas of A027383. The array diagonal starts at with . Although A027383 also has an index-zero term, there is no shift here and no assertion about .
#block(breakable: false)[
Recurrences, series and growth at every width
These are direct substitutions in Theorem 2.1, as in manuscript §3. Put and . For fixed ,
]
#block(breakable: false)[
Thus for . Subtract consecutive instances to obtain
]
#block(breakable: false)[
At , , giving the stronger recurrence for . Also,
]
Indeed, put over a common denominator: the numerator is . Width parameters give constants , corresponding to A209721–A209726. The first column of the counting table is .
For every fixed , . In detail, is for odd and for even . As , we have . Taking th roots, the constant factors tend to one, and squeezing proves the limit. The width is fixed; this is not a claim about widths growing with .