Metadata
slug: barker268943
bibkey: barker2019a268943
doi: null
url: https://oeis.org/A268943
triage: theorem
motivation_gids:
- D5/S1/Words/Patterns/BarkerCyclicRepetitionCounting.result
Barker’s generating function and radical formula for OEIS A268943
Problem
R. H. Hardin’s OEIS A268943, revision 8, has Colin Barker’s two FORMULA conjectures. Its NAME states:
Number of length-n 0..7 arrays with no repeated value unequal to the previous repeated value plus one mod 7+1.
An event is an adjacent equal pair, including overlapping pairs. List the event labels in position order. Consecutive labels advance by one modulo eight. Empty and singleton event lists are allowed. For n\ge1, let c(n) count these literal words, with no identification under rotation or relabeling. Barker’s conjectures are
F(X)=\frac{8X(1-5X-7X^2)}{(1-7X)(1-6X-8X^2)}
for the series with constant coefficient zero and positive coefficients c(n), and
c(n)=\frac{-272\,7^n+(153-37\sqrt{17})(3-\sqrt{17})^n +(3+\sqrt{17})^n(153+37\sqrt{17})}{34}\quad(n\ge1).
Statement echo
| Source clause | Lean counterpart | Fidelity |
|---|---|---|
| Ordered adjacent equality events | eventLabels | The exact zip/filter/map extraction; both events in a triple are retained. |
| Successor modulo eight | Admissible | List.IsChain on the extracted labels, using natural remainder modulo eight. |
| Number of length-n arrays | count | Nat.card of the literal subtype of functions from Fin n to Fin 8. |
| Source offset 1,1 | IsSourceSeries | Zero constant coefficient; all positive coefficients are the natural counts cast to the rationals. |
| Generating function | First two conjuncts of claim | Existence and the displayed rational identity for every series with these coefficients. |
| Radical formula | Last conjunct of claim | Every positive natural index; nonnegative real square root. |
| Both conjectures | result | Exactly claim, without extra hypotheses. |
The count at zero includes the unique empty word; the source series still starts at index one. Source position i is Lean position i-1. These conventions preserve preregistration #22763.
Motivation
The settling GID is D5/S1/Words/Patterns/BarkerCyclicRepetitionCounting.result.
It proves both published identities for the word count, rather than defining
the count by the conjectured recurrence. The module has generality I, utility
none, and admission basis open-problem-resolution (#22763; Proved).
Gap
The literature screen in #22763 located no settlement in its searched OEIS,
arXiv, journal, Zenodo, MathOverflow, MathDB and public Lean sources. Fried’s
unequal-event condition concerns a different language. Comprehensive citation
discovery is ASSUMED-UNVERIFIED: OpenAlex and Semantic Scholar requests were
rate limited. No exhaustive priority claim follows from the screen.
Route
The private state counts classify a word by whether it has an event and,
when it does, whether the first event is the successor of its first letter.
Write these three counts as U,A,B. Prepending a letter gives
(U,A,B)\mapsto(7U,B,U+8A+6B), initially (8,0,0).
count_partition, phaseCount_cons and phaseCount_step establish the literal
counting bridge. stateSeries_equations gives the coefficientwise equations;
sourceSeries_formula derives the rational expression. count_recurrence
and closed_recurrence give the same order-three recurrence for the literal
count and the radical expression. radical_count uses the imported
LinearRecurrence.eq_iff_eqOn_range_order and their initial agreement.
The public result combines the series existence, uniqueness and formula with
the radical identity. These private names belong to the settling module.
Falsifier
A positive index violating either identity for this literal count would
contradict result. Altering the event relation to unequal successive labels
changes the problem and does not falsify this statement.
Evidence
The Lean source is D5/S1/Words/Patterns/BarkerCyclicRepetitionCounting.lean.
Its Scribe renders all five public definitions and the complete proposition
of the sole public theorem result, with one Proved resolution claim.
The source acknowledgement is Library/Certificates/barker2019a268943.md.
There are no D5 imports or supporting modules. Every theorem is conservatively
classified bind-only; the external named settlement supplies admission.
The symbolic unbounded argument has utility none.
The escape audit for the sole public theorem is unfinished: #25339. No Reg mirror or validated registration is delivered. The missing evidence is an exact source reconstruction for the conjunction, whole-family variation, slot sensitivity and observational dependence under an enrolled template.
Experiment
Pinned checker and data.
The immutable revision is f96ecddcf8a59f489af663599c5fa4617d36419c;
script docs/reports/oeis-a268943-barker-gf-radical/check.py, SHA-256
ba138600676d8d6d16579a346cd310881917c5b062f467c6217dd2be6f3ea1b7.
Command: python3 /tmp/op-barker268943/stageb/docs/reports/oeis-a268943-barker-gf-radical/check.py,
using the directory extracted from that revision; exit 0, ALL_CHECKS_OK.
It checks 1,899 GF/DP comparisons for q=2,\ldots,10 and n=0,\ldots,210
(using 1+F at zero), 1,881 three-state transitions, and 430,982 exhaustive
words in 43 cases: q=2 through length 10, q=3 through 8, q=4,5 through 7,
and q=8 through 6. All 19 displayed terms, all 210 b-file terms and all 16
source examples agree. Exact arithmetic in \mathbb Q[s]/(s^2-17) verifies the
radical expression for indices zero through 210. At q=8,n=4, Fried’s language
has 3,976 words and the cyclic-successor language has 3,928.
Triage
- Proved, kernel-checked: the controlling state retains event existence
and whether the current endpoint permits the next duplicate.
phaseCount_cons,phaseCount_stepandcount_partitionestablish its three transition equations and their total as the literal count. The current endpoint is the first letter because this proof prepends letters. - Proved, kernel-checked:
count_recurrencestates c(n+4)+34c(n+2)+56c(n+1)=13c(n+3) for every natural n;count_initialstates c(1)=8,c(2)=64,c(3)=504. - Proved:
sourceSeries_formula,radical_countandresultare kernel-checked for the displayed generating function and radical formula. The explanation in prose factors its characteristic polynomial as t^3-13t^2+34t+56=(t-7)(t^2-6t-8), by expansion; the quadratic roots are 3\pm\sqrt{17} since (3\pm\sqrt{17})^2-6(3\pm\sqrt{17})-8=0. This factorization explains the three modes; it is a prose derivation, distinct from the named Lean statements. - Computed: the pinned experiment above gives all 1,899 comparisons, 1,881 transitions, 430,982 exhaustive words in 43 cases, 210 source terms, 16 examples and exact radical checks, with exactly the stated finite scope.
- Computed: the same experiment gives 3,976 versus 3,928 words at q=8,n=4. This separates Fried’s unequal-event language from this claim.
- Open: a general-q theorem and settlements of neighboring OEIS columns are outside this delivery. Finite checker agreement is not an unbounded proof.
What the settlement shows
The decisive mechanism is the three-state refinement: event existence alone does not determine whether duplication is legal. Retaining the endpoint’s relation to the next permitted event closes the transition system. Its total has the proved recurrence, and recurrence uniqueness connects it to the three exponential modes. The source’s empirical recurrence is thereby proved for indices n\ge4. No source theorem is stated to depend on the conjectures. The finite general-alphabet evidence remains computed; its uniform extension and neighboring columns remain open here.
ASSUMED-UNVERIFIED
Completeness of literature discovery is ASSUMED-UNVERIFIED, including
non-arXiv citing works and later author works beyond the checked sources.
The unfinished escape audit in #25339 is not a mathematical proof gap and
supplies no validated registration.