Is the Collatz Conjecture Next for AI?

Tiny hiking trails repeatedly climb and descend toward a foggy valley, with a pencil and magnifier overlooking their stubborn paths.

Quick answer: The Collatz conjecture is not obviously next for AI. It has been checked for every number up to 2 to the 71st power, but no proof exists, and Terence Tao's 2019 near-proof shows how far close results are from a full answer. AI tools have studied it, and a 2026 AI-assisted disproof claim turned out to be a Lean checker bug.

Is the Collatz Conjecture Next for AI? The Short Answer

A child can understand the Collatz conjecture in thirty seconds, yet the best mathematicians alive have not been able to prove it. Now that an AI-assisted proof of the Riemann hypothesis has been reported, many people are asking the obvious question: is Collatz next?

The honest answer is that nobody knows, and there are good reasons to think Collatz could be harder for AI than it looks. The Riemann hypothesis sits inside a huge, well-developed body of theory that an AI can build on. Collatz has much less of that. Its most famous partial result, by Terence Tao in 2019, gets very close but, in Tao’s own words, the full conjecture is “still out of reach.”

AI has already been pointed at Collatz in several ways: training neural networks on Collatz sequences, running huge computer searches and attempting machine-checked proofs. None of these has come close to settling it, and one high-profile attempt in 2026 ended up exposing a bug in a proof checker instead. This article walks through what the conjecture says, what AI has tried, why it is so stubborn and how to judge the next headline you see.

What the Collatz Conjecture Says, in One Rule

Pick any positive whole number. If it is even, divide it by 2. If it is odd, multiply it by 3 and add 1. Repeat. The Collatz conjecture says that no matter where you start, you always end up at 1 (after which you loop 4, 2, 1 forever). For the full background, see our Collatz conjecture explainer.

Here is what happens if you start at 7:

  1. 7 is odd, so 3 x 7 + 1 = 22
  2. 22 is even, so 11
  3. 11 is odd, so 34
  4. Then 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1

That takes 16 steps and climbs as high as 52 before falling. Some numbers are far wilder. According to Wikipedia, starting at 27 takes 111 steps and climbs to 9,232 before finally coming down to 1.

How far has it been checked?

Computers have tested an enormous range of numbers. In a 2025 paper in The Journal of Supercomputing, David Barina reported verifying every starting number up to 2 to the 71st power, which is about 2.36 sextillion. The work was split across thousands of parallel workers on several European supercomputers, using both CPUs and GPUs.

Even so, checking numbers is not a proof. There are infinitely many whole numbers, and a single number that never reaches 1, either because it climbs forever or because it gets stuck in a different loop, would make the conjecture false.

Collatz Myths and Facts

Tap a card to reveal whether each statement holds up.

Watch: Two Videos Worth Your Time

Prefer to watch? These videos add another angle on the topic.

The Simplest Math Problem No One Can Solve – Collatz Conjecture (Veritasium). A clear, visual tour of the 3n+1 rule, the wild paths numbers take and why mathematicians call the problem dangerous.
UNCRACKABLE? The Collatz Conjecture – Numberphile (Numberphile). A mathematician works through Collatz sequences by hand, which is the perfect warm-up before you try your own starting numbers.

Why the Riemann Hypothesis News Made People Ask About Collatz

According to Euronews, Anthropic announced that researcher and mathematician Levent Alpöge used Anthropic’s Claude model, over months of work, to produce a proof of the Riemann hypothesis. Euronews reports that the proof was submitted to Lean, an open-source proof checker, and that within 48 hours MIT mathematician Andrew Sutherland and the Lean FRO/Mathlib Initiative checked it and reported zero errors.

The same report gives a sense of scale. The released proof contains about 17.4 million lines of Lean code across roughly 175,000 files, though humans have not yet fully understood its ideas (Alpöge later called the widely reported 250,000-page draft figure a joke). Oxford mathematician James Maynard called it “something to be celebrated,” while critics such as Gary Marcus and Yann LeCun argued the result is being overhyped as a sign of superintelligence. Euronews also notes that months of human guidance and open-source tools were needed.

If you want the background on the problem itself, our Riemann hypothesis explainer covers it. For this article, the key point is simple: once one famous problem falls with AI help, people naturally look down the list of famous unsolved problems and ask which one is next. Collatz is near the top of that list because it is so easy to state.

But easy to state and easy to prove are very different things.

What AI and Computers Have Already Tried on Collatz

Collatz has not been ignored by computer scientists. Here are four very different attempts, and what each one actually achieved.

ApproachWho and whenWhat happened
Brute-force checkingDavid Barina, 2025Verified all starting numbers up to 2 to the 71st power. Useful evidence, but not a proof.
SAT solvers (automated logic search)Marijn Heule and Scott Aaronson, funded by the NSF from 2018Recast Collatz as a rewriting system and searched for matrices that would prove it always stops. Searches over small matrices found nothing usable.
Training transformers on CollatzFrançois Charton and Ashvni Narayanan, 2025Small AI models learned to predict long Collatz jumps with up to about 99.7% accuracy, but did not learn a general rule.
Human and LLM collaborationEdward Y. Chang, 2026A long study of why the conjecture resists proof. The paper states plainly that it is not a proof.

The SAT solver attempt

As Nautilus reported, Heule had used SAT solvers to crack other hard problems, such as the Pythagorean triples problem and Keller’s conjecture in dimension seven. For Collatz, the search space grows so fast that Heule estimated matrices larger than about 12 by 12 are beyond current computing power. Mathematician Thomas Hales told Nautilus, “I don’t see how you’d ever completely solve it using SAT solving.”

Teaching a neural network the Collatz rule

In their arXiv paper, Charton and Narayanan found that models working in bases such as 16, 24 and 32 reached about 99.7% accuracy, while models in base 3 managed only about 25%. The models learned the function one class of inputs at a time, and in over 90% of failures they did the arithmetic correctly but misjudged how long the sequence would keep climbing or falling. In other words, AI could imitate Collatz behavior very well without discovering why it works.

Human and AI collaboration on the structure of the problem

Edward Y. Chang’s 2026 arXiv paper, produced through human and LLM collaboration, reports a large set of computational experiments and argues that each known framework for going from “almost all” numbers to “all” numbers runs into an obstacle. Its abstract says directly: “The present work is not a proof of the Collatz conjecture; it characterizes why the conjecture resists proof.”

The 2026 Collatz Disproof That Turned Out to Be a Lean Bug

The most dramatic AI and Collatz story so far is a cautionary one. According to GIGAZINE, on July 25, 2026, formal verification specialist Ramana Kumar posted a GitHub project claiming to have “disproven the Collatz conjecture with the help of AI.” It claimed that some number never reaches 1, though it did not name one. The Lean code did not use the sorry placeholder for unfinished steps or add extra axioms. It looked like a complete machine-checked proof.

Then Kumar himself found the problem: Lean could be tricked into accepting a false statement, and once a checker accepts something false, it can “prove” anything. Another researcher, Kiran Gopinathan, narrowed it down to a small test case and reported it to the Lean team on July 28.

  • The flaw was in how the Lean kernel handled a technical feature called nested inductive types. Lean developer Leonardo de Moura said the issue was in the kernel’s implementation checks, not in Lean’s underlying logic.
  • The project also passed Nanoda, an independent checker, because an older version of Nanoda had a separate bug. The proof exploited both bugs at once.
  • The Lean team released a fix, Lean 4.32.2, on July 28, 2026, and users of the independent checker were advised to update Nanoda.

So Collatz was not disproven. The episode shows two things at once. First, AI tools may be getting good at finding very subtle bugs, as Lean contributor Joachim Breitner suggested. Second, “verified by Lean” is extremely strong evidence but not magic. It depends on the checker itself being correct, which is why our article on whether we can trust AI math proofs stresses independent checking.

Why the Collatz Conjecture May Be Harder for AI Than Riemann

It sounds backward. Riemann involves complex analysis and the zeta function, while Collatz needs only multiplication and division by 2. Here is why many mathematicians still see Collatz as unusually hard for anyone, human or machine.

  1. Little theory to build on. The Riemann hypothesis connects to a vast amount of existing mathematics, and Euronews reports that hundreds of theorems were already written assuming it. Collatz does not have that kind of toolbox. Paul Erdős famously said, “Mathematics may not be ready for such problems.”
  2. Close is not enough. As Quanta Magazine reported, Tao proved in 2019 that almost all starting values eventually fall below any chosen function that grows without bound, however slowly. Quanta illustrated it this way: for very large starting values, the vast majority eventually drop to small numbers such as 200. But Quanta notes his method likely cannot reach a full proof, and Tao said, “You can get as close as you want to the Collatz conjecture, but it’s still out of reach.”
  3. Close cousins are undecidable. John Conway showed in 1972 that a natural generalization of the Collatz problem is undecidable, meaning no algorithm can settle every case. That does not mean Collatz itself is unprovable, but it hints at how deep the difficulty goes.
  4. Pattern-spotting is not proof. The Charton and Narayanan study shows that AI can predict Collatz behavior well without learning a general rule. A proof needs a reason that covers every number, not good guesses about most of them.
  5. There is no shortage of evidence, only of ideas. Checking up to 2 to the 71st power has not revealed a counterexample. What is missing is a new idea, and that is exactly the part that is hardest to predict.

Jeffrey Lagarias, a leading Collatz expert, told Quanta: “This is a really dangerous problem. People become obsessed with it and it really is impossible.” That warning may apply to AI labs too. Still, if the Riemann story teaches anything, it is that predictions about what AI cannot do can age quickly.

Spot the Real Breakthrough

Read each headline and choose the most sensible response.

A video says: Collatz SOLVED! Computers checked every number up to 2 to the 71st power.

A GitHub project says an AI-assisted Lean proof shows a Collatz counterexample exists, but names no number.

A post says AI found that 99% of numbers above 1 quadrillion eventually fall below 200.

A friend says that since AI proved the Riemann hypothesis, Collatz is easy for AI now.

What This Means for You: How to Explore Collatz and Judge AI Claims

You do not need to be a professional mathematician to enjoy Collatz or to think clearly about AI headlines. Here are practical steps.

Try the conjecture yourself

  • Pick three starting numbers under 30 and write out their sequences by hand. Count the steps and note the highest value reached.
  • Try 27 and see if you can reach 9,232. It is a great exercise in patience and careful arithmetic.
  • Notice that powers of 2, like 64, drop straight to 1. Ask yourself why, and you have just done a tiny piece of real reasoning about the problem.

Check any Collatz headline with five questions

  1. Does the claim prove it for every number, or only for most numbers or a very large range?
  2. Is there a machine-checked proof, and in which system?
  3. Has it been checked by independent experts, not just the authors?
  4. If it claims a counterexample, does it name the number or show its loop?
  5. What do established mathematicians outside the project say?

The 2026 Lean bug story shows why question 3 matters even when a proof checker gives a green light.

Keep your own math skills sharp

AI is becoming a powerful partner in research, but understanding what a proof claims, how evidence differs from proof and why a single counterexample matters are human skills worth building now. If you are studying for a test, the habits you use on Collatz, careful arithmetic and checking each step, are the same ones that pay off on exams. Our free math calculators can help you check longer sequences once you have tried the first few by hand.

Quick Quiz: Collatz and AI

Test what you learned about the 3n+1 problem and what AI has tried so far.

Answer each question and press Submit to see your result right away.

1. What happens to an odd number in one Collatz step?
Found a bug? Let us know!
2. Starting at 7, what is the highest value the Collatz sequence reaches?
Found a bug? Let us know!
3. Up to what limit was the conjecture verified in David Barina's 2025 paper?
Found a bug? Let us know!
4. What did Terence Tao prove about Collatz in 2019?
Found a bug? Let us know!
5. What did the July 2026 AI-assisted Collatz disproof claim actually reveal?
Found a bug? Let us know!
6. In the Charton and Narayanan study, what caused most of the transformer models' errors?
Found a bug? Let us know!
7. Which statement about the Collatz conjecture's status is accurate?
Found a bug? Let us know!
8. What did John Conway show in 1972?
Found a bug? Let us know!

Answer each question and press Submit to see your result right away.

Frequently Asked Questions

Tap a question to see the answer.

Has AI solved the Collatz conjecture?

No. As of late 2026 the Collatz conjecture remains unproven, and no counterexample is known. A July 2026 AI-assisted disproof claim turned out to rely on bugs in proof-checking software, which were then fixed.

Is there a prize for solving the Collatz conjecture?

Collatz is not one of the Clay Mathematics Institute's Millennium Prize Problems, which carry the famous 1 million dollar prizes. A correct proof or counterexample would still be one of the most celebrated results in modern mathematics.

Why is it called 3n + 1?

The name comes from the rule for odd numbers: multiply by 3 and add 1. It is also called the 3n + 1 problem, the Syracuse problem or the hailstone problem, because the numbers rise and fall like hailstones in a cloud.

Could a computer just keep checking numbers until it finds a counterexample?

It could find one if a counterexample is small enough, but no search can prove the conjecture true, because there are infinitely many numbers. Also, a counterexample that climbs forever would be impossible to confirm by direct computation alone.

Is the Collatz conjecture harder than the Riemann hypothesis?

Nobody can rank them for certain. Riemann involves more advanced mathematics, but it also has far more existing theory to build on. Many experts think Collatz needs ideas that do not exist yet, which is what Erdős meant by saying mathematics may not be ready for it.

What is Lean and why does it matter for AI proofs?

Lean is an open-source proof assistant that checks every step of a proof mechanically. It matters because AI-generated proofs can be enormous, and Lean lets mathematicians trust the logic without reading every line, as long as the checker itself is correct.

Can students work on the Collatz conjecture?

Yes, as a source of practice and curiosity. Writing out sequences, looking for patterns and asking why powers of 2 fall straight to 1 builds real reasoning skills. Experts generally advise against trying to prove it outright, since it has resisted the strongest methods available.

Could the Collatz conjecture be false?

It is possible in principle. A single number that climbs forever or falls into a loop other than 4, 2, 1 would disprove it. However, no such number has been found below 2 to the 71st power, and most mathematicians expect it to be true.

Will AI eventually solve Collatz?

No one knows. AI tools are improving quickly, and the reported Riemann proof surprised many experts, but Collatz has resisted every known framework. An honest answer is that it could happen, but there is no evidence yet that a solution is close.

Sources and Further Reading

Related to This Article

What people say about "Collatz Conjecture and AI: Could AI Solve It Next?"?

No one replied yet.

Leave a Reply