Metadata
slug: hardin185858
bibkey: hardinbarker2018a185858
doi: null
url: https://oeis.org/A185858
triage: theorem
motivation_gids:
- D5/S3/Combinatorics/TraceArrays/HardinA185858.result
Hardin–Barker A185858: the generating function and closed form
Problem
OEIS A185858, revision 9, NAME and FORMULA, contains the following source statements, without page numbering:
1/128 the number of (n+2) X 3 binary arrays with no 3 X 3 subblock trace equal to any horizontal or vertical neighbor 3 X 3 subblock trace.
Conjectures from Colin Barker, Apr 17 2018: (Start)
G.f.: 2x(2 + 3x) / (1 - 4x - 9*x^2).
a(n) = ((2 - sqrt(13))^n*(-4+sqrt(13)) + (2+sqrt(13))^n*(4+sqrt(13))) / (3*sqrt(13)).
(End)
The offset is 1. For n\ge1, the arrays have n+2 rows and three columns, entries in \{0,1\}, ordinary contiguous-block traces, and no periodic boundary or symmetry quotient. Write C_n for the literal count and a_n=C_n/128 in \mathbb Q. With A(x)=\sum_{n\ge1}a_nx^n, the assertion is
A(x)=\frac{2x(2+3x)}{1-4x-9x^2},\qquad a_n=\frac{(2-\sqrt{13})^n(-4+\sqrt{13})+(2+\sqrt{13})^n(4+\sqrt{13})} {3\sqrt{13}}\quad(n\ge1).
Statement echo
| Source clause | Lean counterpart | Fidelity |
|---|---|---|
| Binary (n+2)\times3 arrays | blockTrace, Valid, count | Actual matrices over Fin 2; entries cast before addition |
| Ordinary contiguous 3\times3 trace | blockTrace | Matrix.trace of the literal submatrix |
| Unequal horizontal or vertical neighboring traces | Valid | One block column; every successive row-origin pair is tested |
| Count divided by 128 | a | Rational division, with no truncation |
| Offset 1 and the generating function | generatingSeries, first conjunct of claim | Constant coefficient zero; all positive coefficients are a |
| Barker’s radical formula | Second conjunct of claim | Every natural index at least one, rational-to-real cast, nonnegative real square root |
The natural parameter zero makes the auxiliary functions total; no source
value a(0) is asserted. There is no recurrence assumption in claim.
Motivation
The preregistration is #22162.
The settling declaration is
D5.S3.Combinatorics.TraceArrays.HardinA185858.result in
D5/S3/Combinatorics/TraceArrays/HardinA185858.lean.
Its admission basis is open-problem-resolution (#22162; Proved), with
generality: G and utility: none. The source note is
Library/Certificates/hardinbarker2018a185858.md.
Gap
The source labels the two formulas conjectures and the recurrence empirical. The literature screen recorded in #22162 located no settlement of the literal array-count assertion. Numerical sequences generated by the proposed recurrence do not establish the array correspondence. Literature completeness is ASSUMED-UNVERIFIED.
Route
For each column c, a cyclic row shift exposes the cells (i+c,c) for
0\le i<n. These form independent triples and leave six free binary cells.
A prescribed trace word s therefore has
64\prod_i\binom3{s_i} arrays. The weights for traces 0,1,2,3 are
1,3,3,1. Splitting off the first triple gives four extension equations.
Their weighted total satisfies the recurrence with coefficients 4 and 9;
symmetry gives integral normalization and the first two normalized values
4 and 22. Coefficient comparison proves the formal-series identity.
LinearRecurrence.geom_sol_iff_root_charPoly supplies the geometric
solutions used in radical_recurrence, and
LinearRecurrence.eq_iff_eqOn_range_order supplies the uniqueness step in
closed_formula.
Falsifier
An array-count coefficient at any positive index violating either source
formula would contradict result. The literal definition includes all
adjacent block origins and excludes periodic wraparound and quotient counts.
Evidence
result proves the conjunction in claim. The axiom closure of every public
declaration is contained in {propext, Classical.choice, Quot.sound}.
The module has no D5 imports; its mathematical dependencies are pinned
Mathlib. No atom or coverage claim is used.
The independent finite experiment is
the immutable experiment directory.
Command: python3 docs/reports/hardin-a185858-trace-arrays/check.py; exit 0.
Script SHA-256:
19059d1da9d578751c7bcfbc604e9fcf7f8d4bbe7c5600220adaa8fc55b12bce.
The script bytes equal the blob at commit
476ba03c81438134ebdda63dc9d0687d78f5beb8.
Exhaustive enumeration covers n=1,\ldots,5, totaling 2,396,672 arrays,
and gives valid counts 512,2816,15872,88832,498176; every trace-word
fiber has its proposed size. The independent row-transfer and weighted-word
counts agree for n=1,\ldots,200. Integral normalization and exact radical
identities hold through index 200, the recurrence at indices 3 through 200,
and the generating-function product at degrees 0 through 200. These are
computed finite corroboration, separate from the all-length theorem.
Triage
- Proved (kernel-checked): the column-dependent cyclic shift splits the
actual array into n independent triples and six free cells. Evidence:
private
arrayEquiv,trace_bridge,array_fiberin the settling module. - Proved (kernel-checked and the following prose derivation): the trace
multiplicities are 1,3,3,1 (
triple_fiber,sum_triple), equal-weight pairs give two symmetry classes (suffix_symmetry), and the scalar recurrence isa_recurrence. If x_n and y_n are suffix counts with prescribed previous trace 0 and 1, symmetry andsuffix_equationsgive x_{n+1}=x_n+6y_n and y_{n+1}=2x_n+3y_n. The matrix \left(\begin{smallmatrix}1&6\\2&3\end{smallmatrix}\right) has characteristic polynomial (r-1)(r-3)-12=r^2-4r-9; this polynomial calculation is proved in prose. The weighted total also follows directly from all four equations (word_recurrence). - Computed: independent row transfer and exhaustive enumeration agree in the exact ranges stated in Evidence, with exact recurrence, generating-function and radical checks through 200. Evidence: the pinned experiment entry, command, exit code and SHA-256 above.
- Open: wider arrays, horizontal constraints, other block sizes and periodic boundaries are outside the assertions of this module; neither the theorem nor the finite experiment settles them.
- Proved (kernel-checked):
array_fiberincludes n=0, when the empty product gives 64 free arrays;claimrestricts its radical formula to n\ge1 andgeneratingSeriessets the constant coefficient to zero. No source value a(0) is asserted.
What the settlement shows
The diagonal supports are disjoint despite the overlap of the contiguous
blocks. Their six-cell complement explains the factor 64; pairing equal
trace weights gives the remaining factor two in count_normalized.
The two recurrence roots are 2\pm\sqrt{13}, and matching the first two
coefficients identifies the source’s radical expression. Both source
formulas hold for every positive index, rather than only for observed
terms. The prescribed-trace fiber statement also covers zero length.
No inspected downstream source theorem relies on the conjectures;
neighboring entries require their own array correspondences.
ASSUMED-UNVERIFIED
Literature completeness and worldwide priority are unverified. Citation tracing, MathOverflow and broader non-arXiv discovery remain outside the verified screen in #22162. The source is OEIS-only, with no associated source arXiv identifier or located journal version.
The four-slot escape audit of the sole public theorem result is unfinished:
issue #22308.
No lawful compiled registration for the complete mixed conjunction is
supplied, and no declared_validated status is claimed.