← Latest papers
🔢 mathematics

Dead ends in square-free digit walks

This paper proves that the asymptotic density of "dead ends" in square-free digit walks is approximately 1.317×1091.317\times 10^{-9}, which is roughly 40,000 times smaller than predicted by stochastic models, and establishes a closed-form expression for these densities across all bases using a result fully formalized in Lean/Mathlib by the AxiomProver system.

Original authors: Evan Chen, Chris Cummins, Ben Eltschig, Dejan Grubisic, Leopold Haller, Letong Hong, Andranik Kurghinyan, Kenny Lau, Hugh Leather, Seewoo Lee, Aram Markosyan, Ken Ono, Manooshree Patel, Gaurang Pendha
Published 2026-02-09
📖 5 min read🧠 Deep dive

Original authors: Evan Chen, Chris Cummins, Ben Eltschig, Dejan Grubisic, Leopold Haller, Letong Hong, Andranik Kurghinyan, Kenny Lau, Hugh Leather, Seewoo Lee, Aram Markosyan, Ken Ono, Manooshree Patel, Gaurang Pendharkar, Vedant Rathi, Alex Schneidman, Volker Seeker, Shubho Sengupta, Ishan Sinha, Jimmy Xin, Jujian Zhang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Game: "Square-Free Digit Walking"

Imagine you are playing a game with numbers. You start with a number that is "square-free."

  • What is square-free? It's a number that doesn't have any perfect square hiding inside it as a factor (other than 1). For example, 10 is square-free (it's 2×52 \times 5), but 12 is not (it's 4×34 \times 3, and 4 is a square).
  • The Move: You try to "walk" to infinity by appending one digit at a time to the end of your number. If you have the number 5, you can try to make 50, 51, 52, ..., up to 59.
  • The Rule: Every new number you create must also be square-free. If you create a number that isn't square-free, that specific path is a "dead end."

The Big Question: Can you keep walking forever? Is there a starting number and a sequence of digits you can choose so that you never hit a dead end, allowing you to walk to infinity?

The Old Guess: "The Coin Flip Theory"

Before this paper, mathematicians (specifically Miller et al.) looked at this problem using a "stochastic" or random model. They treated square-freeness like flipping a coin.

  • About 60% of all numbers are square-free.
  • They imagined that for every step you take, you have a 60% chance of finding a "safe" digit to append.
  • Because you have 10 digits to choose from, they calculated that the odds of getting stuck (hitting a dead end) were very low.
  • Their Prediction: They thought dead ends were rare, occurring about 52 times in every million numbers. They believed infinite walks were almost guaranteed.

The New Discovery: "The Arithmetic Trap"

This paper proves that the "Coin Flip Theory" is wrong. The real world of numbers is much more stubborn than a random coin flip.

The authors (a mix of human mathematicians and an AI tool called AxiomProver) discovered that dead ends are actually extremely rare—roughly 1 in a billion.

Why the difference?
The "Coin Flip" model assumed that the reasons a number fails are independent. It thought that failing because of the digit '0' had nothing to do with failing because of the digit '1'.

In reality, the rules of arithmetic create a tight trap.

  • The Analogy: Imagine trying to lock a door with 10 different keys. The old theory thought each key had a 60% chance of working independently.
  • The Reality: The "locks" (prime squares like $4, 9, 25, 49$) are very picky. For a number to fail for all 10 digits at once, it has to satisfy a very specific, complex set of conditions involving many different prime numbers simultaneously.
  • Because these conditions are so specific and interdependent, it is incredibly difficult to find a number that fails for every possible next digit. The "dead ends" are so rare that the random model vastly overestimated how common they would be.

The Result: A New Formula

The paper provides a precise mathematical formula (a "closed-form expression") to calculate exactly how rare these dead ends are for any base (not just base 10).

  • For base 10, the true density of dead ends is approximately 1.3×1091.3 \times 10^{-9}.
  • This is about 40,000 times smaller than the old prediction.

The "AI" Twist: AxiomProver

A unique part of this paper is how the math was done.

  • The authors didn't just write the proof by hand. They used an AI tool called AxiomProver.
  • They fed the AI a plain English description of the problem: "Find the density of dead ends in square-free digit walks."
  • The AI didn't just guess; it derived the formula and wrote a formal proof in a computer language called Lean.
  • The computer then verified the proof step-by-step to ensure it was 100% logically correct.
  • The human authors then took that computer-generated proof and wrote this paper to explain it to other humans.

A Note on History (The "Update")

The paper includes an important update: After posting their work, they learned that a mathematician named Mirsky actually solved this exact problem back in 1947.

  • The 2024 paper by Miller et al. (which started the "Coin Flip" debate) had forgotten to cite Mirsky's 1947 work.
  • So, while the math in this paper is correct and the AI proof is a cool new achievement, the result itself isn't new to the history of mathematics. The authors decided not to publish this in a journal because the answer was already known, but they are sharing it to show off how well their AI tool can rediscover old math.

Summary

  • The Game: Can you append digits forever without hitting a non-square-free number?
  • The Old View: Yes, almost certainly. Dead ends are rare (1 in 20,000).
  • The New View: Dead ends are super rare (1 in a billion) because the rules of math are stricter than random chance.
  • The Method: An AI tool named AxiomProver successfully derived the correct formula and proved it, rediscovering a result from 1947 that had been forgotten.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →