Published November 19, 2026 | Version v6

Sharp linear bounds for the EKG sequence

Authors/Creators

Description

We prove that the EKG sequence satisfies $13n/28\le a(n)\le12n/7$ for every $n\ge1$, with equality only at $n=28$ and $n=7$, respectively. Discovered by Jonathan Ayres, the sequence starts with $1,2$ and repeatedly takes the least unused positive integer sharing a factor greater than $1$ with its predecessor. This proves the sharp linear bounds conjectured by Lagarias, Rains and Sloane, who established coarse bounds at every index. Hofman and Pilipczuk proved the limits $1/2$, $3/2$ and $1$ of $a(n)/n$ on primes, their triples and the other terms, and Haver made these estimates explicit and formalized them in Lean. Our earlier second-order asymptotic also builds on Haver's work. We sharpen Haver's self-improving early-even bound with a shorter prime window and effective large-sieve constants, and control odd terms so that the analytic range meets a finite computation. Lean checks the deduction from the definition, conditional on computed premises; independent programs check those premises, and their correspondence with the formal statements was checked by reading the code. This work has not yet been reviewed by experts. The proofs, the Lean formalization, the programs and the text were produced by AI models (from OpenAI and Anthropic), working under the author's direction.

Computer-assisted; not yet reviewed by experts. Produced by AI models under the author's direction.

Notes

Correction: cite three of Tomer Haver's Yellowstone papers (posted October 23, 2026) as later work, posted after this result's first public release on October 22, 2026 (Zenodo version 1, doi:10.5281/zenodo.23562177; tag ekg-bounds-v1), and the two posted earlier that day as concurrent. Layout: the review-status and AI-assistance sentences move into the abstract. The theorem and its checks are unchanged.

Files

ekg-bounds-v6.pdf

Files (3.5 MB)

Name Size
md5:218ce178e077d069d0eb6de85f35bad9
359.7 kB Preview Download
md5:643bdb3c5ae1df621e5c49b3a463842c
3.1 MB Preview Download

Additional details