Metadata
slug: hardin233257
bibkey: hardin2013a233257
doi: null
url: https://oeis.org/A233257
triage: theorem
motivation_gids:
- D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233257Strip.result
Barker’s closed form and generating function for the two-row antidiagonal pair-exclusion strip
Problem
OEIS A233257, by R. H. Hardin, has NAME
Number of 2 X n 0..5 arrays with no element x(i,j) adjacent to itself or value 5-x(i,j) horizontally or antidiagonally, top left element zero, and 1 appearing before 2 3 and 4, and 2 appearing before 3 in row major order (unlabelled 6-colorings with no clashing color pairs).
with Hardin’s empirical recurrence a(n)=16a(n-1)-48a(n-2) for n>3 and Colin Barker’s conjectured generating function x(3-38x+88x^2)/((1-4x)(1-12x)) and closed form a(n)=2^{2n-3}(4\cdot3^n+9)/9 for n>1 (verbatim in issue #28792).
A bond joins horizontally adjacent cells (r,j),(r,j+1) and antidiagonal cells (0,j+1),(1,j); it is legal when its endpoints differ and do not sum to 5.
Statement echo
| Source clause | Lean counterpart | Fidelity |
|---|---|---|
| 2\times n arrays over 0..5 | a n: the cardinality of a filtered Finset of all Fin 2 × Fin n → Fin 6 | Literal count |
| not adjacent to itself or 5-x horizontally or antidiagonally | the bonds of Legal | Vertical and diagonal neighbours unconstrained |
| top left element zero | the cell (0,0) carries 0 | — |
| 1 before 2,3,4 and 2 before 3, row-major | the frozen owner HardinA233175PairStrip.normal | A colour need not occur |
| Barker’s g.f., closed form; Hardin’s recurrence | result: the power-series identity over \mathbb Z, 9a(n+2)=2^{2n+1}(4\cdot3^{n+2}+9) for every n, and a(n+4)=16a(n+3)-48a(n+2) for every n | Index shifts explicit |
Motivation
The settling declaration is
D5.S3.Combinatorics.TraceAvoidingArrays.HardinA233257Strip.result.
The external assertions and their conventions are preregistered in
issue #28792.
The source note is Library/Automata/hardin2013a233257.md. A233257 is row
two of the table A233256.
Gap
The entry labels the recurrence empirical and the closed form and generating function conjectures; no proof was located.
Route
- Labels. The complementary-pair labels are the fibres
\{0,5\},\{1,4\},\{2,3\} of
BooleanRankThreeK4.beta; a bond is legal exactly when its endpoints carry different labels. - Canonical form. The frozen
HardinA233177Canonical.normalized_cardandcanonical_pattern_cardreduce the normalized count to the proper three-label patterns of the bond graph, weighted by 2 to the number of cells minus the number of labels used. - Proper patterns. A transfer over the last column, with matrix rows
(2,2) and (1,1) and initial weights (12,12), gives
24\cdot3^{n} proper patterns at width n+2 (the matrix power is an
eigenvector power,
Module.End.HasUnifEigenvector.pow_apply); exactly six of them use two labels, the alternating constant columns (by the frozenHardinA233177Ladder.two_label_classificationapplied to the upper row). - Result. The weights give the closed form; the recurrence and the generating function follow by expansion.
Falsifier
A width at which the literal count differs from 2^{2n-3}(4\cdot3^n+9)/9
(n\ge2) would contradict result.
Evidence
The kernel declaration is
D5.S3.Combinatorics.TraceAvoidingArrays.HardinA233257Strip.result;
its axiom closure is contained in {propext, Classical.choice, Quot.sound}.
Triage
- Proved (kernel-checked): Hardin’s recurrence for every n\ge4,
Barker’s closed form for every n\ge2 and Barker’s generating
function, by
HardinA233257Strip.result. - Proved (kernel-checked): the bond graph of width n+2 has
24\cdot3^n proper three-label patterns, six of them with two labels
(private helpers of
HardinA233257Stripon the live path ofresult). - Open: the rows three and four of A233256 (A233258, A233259), preregistered in #28806 and #28807.
What the settlement shows
Each statement below follows from the closed form and item 2 (proved).
- Exactly one canonical label class uses two labels; it contributes 2^{2n-2}=4^n/4, a pure root-4 term.
- The canonical classes with three labels number 4\cdot3^{n-2}-1 and each contributes 2^{2n-3}, so this sector contributes 2^{2n-3}\cdot4\cdot3^{n-2}-2^{2n-3}: both the root 12 and the root 4.
- The root 12=4\cdot3 is the factor 2^2 of the two free side bits of each new column times the nonzero eigenvalue 3 of the last-column transfer with rows (2,2) and (1,1) (trace 3, determinant 0).
ASSUMED-UNVERIFIED
Literature completeness and worldwide priority are unverified; the bounded screen in #28792 was the orchestrator’s and was not exhaustive.