News · · Partial results; Erdős Problem 1052 is still open. Cube case machine-checked in Lean by the author, not yet refereed · Reported December 1, 2026 · Updated December 1, 2026
Erdős Problem 1052 stays open, but one of its special cases now has a Lean proof with no extra assumptions
Erdős Problem 1052 asks whether there are only finitely many unitary perfect numbers. It is one of the hundreds of open problems Paul Erdős left behind, and it is still open. Mason Hargrave, working with Claude Code, Anthropic's AI coding agent, has posted a 34-page paper with Lean files that he says settles a few special cases. He is plain about what it is: "Can't say I solved Erdős Problem 1052, but I've put a serious dent in it."
Here is the problem. A perfect number, such as 6 = 1 + 2 + 3, equals the sum of its divisors below itself; people have studied those since antiquity. Unitary perfect numbers are a cousin. A divisor d of n is unitary when d and n/d share no common factor, and a number is unitary perfect when its unitary divisors below it add up to it: for 60 they are 1, 3, 4, 5, 12, 15 and 20, which sum to 60. Five are known: 6, 60, 90, 87360 and one 24-digit number found by Charles Wall. All of them are even, and every unitary perfect number is known to be.
The new results are about a number's odd part, what is left after dividing out every factor of 2: the odd part of 90 = 2 × 45 is 45. Ronald Graham proved in 1989 that if no prime divides the odd part more than once, the number must be 6, 60 or 87360. Hargrave's main theorem allows one exception: a single prime may divide the odd part twice (the square case) or three times (the cube case). It finds only one more number, 90, which is 2 × 3² × 5 and so was outside Graham's case. He writes that he believes it is the first extension of Graham's theorem beyond the case it covered.
The cube case is his cleanest result. It is checked in Lean, a language in which a computer checks every step of a proof, with no assumptions added. The square case is checked in Lean too, but assumes four facts that were computed by programs rather than proved in Lean. Other parts of the paper lean on computer searches, or on written proofs read only by separate AI runs, and the paper labels each result by how it was checked.
All of the checking so far is his own and his AI agents'. The work began on Left to Solve, a public website where people's AI agents work on open problems together in Lean, and the cube-case proof had not yet been merged into that site's shared proofs when I looked. Nobody outside has refereed the paper.
Status: partial results; Erdős Problem 1052 is still open. Cube case machine-checked in Lean by the author, not yet refereed; I read the Lean files but did not run the check myself.
What the paper proves, and how each part was checked
- The paper. "Unitary perfect numbers with nearly squarefree odd part" by Mason Hargrave, version 1, dated December 1, 2026, 34 pages, posted with its Lean files and search scripts on Zenodo, a public archive for research files, and, the bundle says, submitted to the preprint site Hexagon. He announced it on X at 2:19 a.m. Pacific time on December 1.
- The problem's status. Every public record I checked lists it as open: the community database of Erdős problems on GitHub ("open", with a $10 prize from Erdős, last updated September 28, 2025); Google DeepMind's formal-conjectures project, which writes open problems as Lean statements and states this one as "Are there only finitely many unitary perfect numbers?"; and Left to Solve, whose problem page still reads "Nobody has proved this yet." It is also known as Subbarao's conjecture.
- What is proved, and how. The paper's main theorem says that if no prime divides the odd part of a unitary perfect number twice, apart from at most one prime that divides it two or three times, the number is 6, 60, 90 or 87360. Each result carries a label saying how it was checked. The cube case, that no unitary perfect number has an odd part equal to a prime cubed times primes that each appear once, is labeled "[Lean] with no hypotheses". The square case is labeled "[Lean with stated hypotheses]": it assumes four computed facts, a complete list of the prime factors below 200 billion of Fermat numbers (numbers of the form 2^(2^t) + 1) and three bounds on the power of 2, each computed by two separately written programs. One more bound it needs, for 3 squared, is itself a Lean theorem.
- Further results, with weaker checks. If the repeated part is a prime to the fourth power, the number is Wall's (Lean with stated hypotheses). Repeated parts of the form p^6 and p^8 are impossible, and so are p^5 and p^7 for p other than 3 (computer-assisted). With at most four repeated odd prime factors, counted with multiplicity, a sixth unitary perfect number would have to lie in one of two explicit thin families; this one also rests on written proofs read only by an AI referee. The paper ends with an explicit conjecture about powers of 3 that it says is the remaining hard core.
- The Lean check. The paper says every Lean theorem it cites builds with Lean 4.33.1 and Mathlib, uses no sorry (Lean's marker for a missing step) or native_decide (a shortcut that trusts compiled code), and depends only on Lean's three standard axioms. I searched the shipped Lean folder for those words and for new axioms and found none, and the shipped build log for the cube theorem lists only the three standard axioms. I did not build it. The definition of a unitary perfect number is copied word for word from formal-conjectures, which matters because a Lean proof settles exactly the statement it is given.
- How AI was used, per the paper. Its "Use of AI tools" section says AI agents "proposed and wrote proofs, wrote and ran the search programs, wrote the Lean formalizations, and cross-checked one another", coordinated by the author, and that the text was drafted with AI help. Its labels "independently re-implemented" and "internally refereed" mean checks by separate AI agent runs, "not by human experts". His pull request to Left to Solve names the agent as Claude Code with Claude Opus 5.5. The paper says written proofs will be reviewed with human collaborators before any journal submission.
- Where Left to Solve comes in. Left to Solve holds a community proof tree for the problem, in which people's agents split it into smaller Lean statements and prove the pieces; by December 1 it held thousands of proof files for this problem. The paper says Hargrave's work began there and then moved to a separate repository, and its Appendix C credits the tree by contributor. Some of the tree's results are stronger than his: it had already ruled out an odd part containing 3 cubed, whatever the power of 2, and it handles a single prime squared or cubed for each prime from 5 up to 2,100, one prime at a time. What the paper adds is one argument that covers every prime, including the large ones the tree leaves open. On December 1 Left to Solve adopted his way of dividing the problem into cases, by how many odd primes divide the number more than once; the cube-case proof is ready to file there, by his account, and was not yet merged when I looked.
- What others said. Guillaume Baud, who created Left to Solve's repository, posted on X on December 1 that Hargrave had made "new theorems, all machine-checked in Lean, including the 'cube' case with no extra assumptions", adding "Not a full solution." That goes further than the paper does: only some of its theorems are checked in Lean with nothing assumed, the cube case among them. Hargrave writes that he believes this is the first extension of Graham's 1989 theorem beyond the squarefree case, and has asked to be introduced to a number theorist to improve the paper. As of the time of this item I found no comment from a number theorist.
In his own words
“Can't say I solved Erdős Problem 1052, but I've put a serious dent in it. I believe this is the first extension of Graham's 1989 work beyond the squarefree case.”
“The author is responsible for the content: every statement carries a status label (Lean, paper proof, computer-assisted) that says how it has been checked”
The full record: the dated log, with sources
The rest of the record
- Edit history: reported here 12:40 p.m. Pacific time, December 1, 2026; rewritten for clarity 5:35 p.m. Pacific time, December 1, 2026; rewritten again for clarity 5:49 p.m. Pacific time, December 1, 2026.
Sources
- https://zenodo.org/records/24713536
- https://doi.org/10.5281/zenodo.24709184
- https://x.com/MasonHargrave/status/2127709246188056711
- https://x.com/GuillaumeAIinSF/status/2127854577420575093
- https://github.com/teorth/erdosproblems
- https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/ErdosProblems/1052.lean
- https://lefttosolve.com/p/erdos-1052
- https://github.com/lefttosolve2/open-math-agents/pull/171716
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.