Self-banning rows (OEIS A398589): the periodic part replays the opening run for exactly , or terms, according as is odd, even but not divisible by , or divisible by (all except )
- Kind
- Theorem (Lean 4 proof and exact computational checks)
- Status
- Proved and verified in Lean 4 (27 of 27 main results, 43 audited declarations, zero sorry, zero native_decide, standard axioms only); unrefereed
- Headline in Lean
- Unconditionally proved in Lean 4 (27/27 main results in pure-kernel Lean 4 across `lean/SelfBanningRowsOpeningRunDeparture/`, 43 audited declarations, zero sorry, zero native_decide, standard axioms only).
- Lean share
- 27 of 27 main results in Lean (100%) · 7 of 7 abstract claims (100%) · 30 of 30 all paper claims (100%)
- Preprint DOI
- 10.5281/zenodo.24733079 (Zenodo / CERN preprint, v3: 10.5281/zenodo.24733080)
- Prior work
- Not found in the searches logged; credited prior work includes J. B. Weinstein, Self-banning irregular triangle, OEIS entry A398589 (rev. 33, Sep 27 2026)
The statement
Row of OEIS A398589 starts at and for takes the least integer absent from the preceding terms. Every row satisfies and is eventually periodic, with purely periodic rows (least period ) and (least period ). We prove that for every and every aligned periodic multiple , holds for and fails at , where , and for , equals ( odd), (even ), or (). The proof builds pure-periodic four-symbol clocks and eliminates late recurrence via backward chains. All 30 of 30 compared theorems are verified in pure Lean 4 without Mathlib, confirmed across full rows () and projected rows (). AI systems produced the proof and formalization; no human has refereed it.
Check it yourself
- Replay from the archive: the downloadable archive (
checker.zip) holds the scriptpapers/self-banning-rows-opening-run-departure/draft3/compute.py, but it was not run to completion from the archive alone: it stopped with an error. To check the Lean proofs, buildlean/SelfBanningRowsOpeningRunDeparture/in Lean 4. - Lean 4 kernel verification: the archive contains the Lean 4 sources (
lean/SelfBanningRowsOpeningRunDeparture/), axiom audit output, and trust-boundary manifest linking every paper claim to its Lean declaration.
Status and who checked it
- Verified in Lean 4. Verified unconditionally in Lean 4 (43 audited declarations, zero sorry, zero native_decide, standard axioms only, library
lean/SelfBanningRowsOpeningRunDeparture/): 27 of 27 main results proved in the pure Lean kernel. - Unrefereed. All automated manuscript, citation, and statement-fidelity checks passed on the 9-page preprint. No human mathematician has yet refereed the proof.
Prior work
Searches run. Prior-work searches and full-text citation checks were logged alongside the preprint. The result was not found in the searches logged.
Credited. J. B. Weinstein, Self-banning irregular triangle, OEIS entry A398589 (rev. 33, Sep 27 2026); J. B. Weinstein, Row 2 of the self-banning triangle, OEIS entry A399708 (rev. 15, Sep 15 2026); J. B. Weinstein, Row 3 of the self-banning triangle, OEIS entry A399709 (rev. 10, Sep 15 2026); R. Cestnik, Repeat [1,2,1,3], OEIS entry A364447 (rev. 44, Sep 10 2026); J. Shallit, Least non-divisor of n, OEIS entry A007978 (rev. 67, Oct 19 2026); W. Goddard and H. Xu, The S-packing chromatic number of a graph, Discuss. Math. Graph Theory 32 (2012), 795–806; B. Brešar, J. Ferme, S. Klavžar and D. F. Rall, A survey on packing colorings, Discuss. Math. Graph Theory 40 (2020), 923–970; D. Gözüpek and I. Peterin, Grundy packing coloring of graphs, arXiv:2409.00697v2 (2024).
Still owed. MathSciNet, zbMATH, books in print, and paywalled journal articles not reachable in open-access full text.
Further reading
- J. B. Weinstein, Self-banning irregular triangle, OEIS entry A398589 (rev. 33, Sep 27 2026)
- J. B. Weinstein, Row 2 of the self-banning triangle, OEIS entry A399708 (rev. 15, Sep 15 2026)
- J. B. Weinstein, Row 3 of the self-banning triangle, OEIS entry A399709 (rev. 10, Sep 15 2026)
- R. Cestnik, Repeat [1,2,1,3], OEIS entry A364447 (rev. 44, Sep 10 2026)
- J. Shallit, Least non-divisor of n, OEIS entry A007978 (rev. 67, Oct 19 2026)
- W. Goddard and H. Xu, The S-packing chromatic number of a graph, Discuss. Math. Graph Theory 32 (2012), 795–806
- B. Brešar, J. Ferme, S. Klavžar and D. F. Rall, A survey on packing colorings, Discuss. Math. Graph Theory 40 (2020), 923–970
- D. Gözüpek and I. Peterin, Grundy packing coloring of graphs, arXiv:2409.00697v2 (2024)
- levzzz5154, open-problems-lean, module
SelfBanning(commit5fac952e5e) - The Omega Institute, trureturing, pull request 11864: Prove eventual periodicity of every OEIS A398589 row (merged 2026-10-01)
- L. de Moura and S. Ullrich, The Lean 4 theorem prover and programming language, Lecture Notes in Comput. Sci. 12699 (CADE-28), Springer (2021), 625–635