Every Nonnegative Integer Is a Sum of a Triangular, a Pentagonal, and a Heptagonal Number
This paper proves that every nonnegative integer can be expressed as the sum of a triangular, a pentagonal, and a heptagonal number, thereby settling the OEIS A287616 conjecture using a proof generated by the MechMath Agent Team and formalized in Lean 4.
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
Imagine you have a giant, infinite bag of numbers: 0, 1, 2, 3, and so on forever. Mathematicians have long wondered if every single one of these numbers can be built by stacking three specific types of "shape blocks" on top of each other.
This paper, written by a team of AI agents called the MechMath Agent Team, says: Yes, you can.
Here is the simple breakdown of what they did, using everyday analogies.
The Three Magic Blocks
The authors are trying to build any number using a specific recipe:
- Triangular Blocks: Think of stacking coins in a triangle (1, 3, 6, 10...).
- Pentagonal Blocks: Think of stacking coins in a pentagon shape (1, 5, 12, 22...).
- Heptagonal Blocks: Think of stacking coins in a seven-sided shape (1, 7, 18, 34...).
The question was: Can you make every number (like 1, 100, or 1,000,000) by picking one of each of these blocks and adding them together? This was a guess (conjecture) recorded in a famous math database (OEIS A287616).
The Transformation: Turning Shapes into Squares
To solve this, the team didn't try to stack the shapes directly. Instead, they used a mathematical "magic trick" (called a square reduction).
Imagine you have a wobbly, irregular puzzle piece. It's hard to fit. But if you cut it and rearrange it, it suddenly becomes a perfect square.
- They took the messy triangular, pentagonal, and heptagonal formulas.
- They rearranged them into a neat equation involving squares (like ).
- Now, instead of stacking shapes, the problem became: "Can we find three specific numbers () that fit into this square equation to equal our target number?"
The Two-Step Strategy
The proof works like a two-step rescue mission to get the numbers into the right shape.
Step 1: The "Seed" (Finding a Starting Point)
First, they had to prove that a solution exists somewhere, even if it's in a weird, messy form.
- The Analogy: Imagine you are lost in a forest. You know there is a path out, but you can't see it. The "Seed" is like finding a single, solid tree that proves you are definitely in the right forest.
- They used advanced number theory (specifically "genus theory," which is like checking the DNA of the numbers) to prove that for any target number, there is at least one set of that works. This is the "unconditional primitive seed."
Step 2: The "Descent" (Walking Down the Mountain)
Finding a solution isn't enough; it has to be a good solution (where the numbers are positive and follow specific rules).
- The Analogy: Imagine you are on a mountain peak (a messy solution). You need to get down to the valley floor (the perfect solution).
- The team invented a set of "elevator buttons" (called moves). Each button transforms your current numbers into new numbers.
- They defined a "potential score" (like an altitude meter). Every time you press a button, the score goes down.
- The Problem: Most of the time, the buttons work perfectly. But there is a tiny, tricky "canyon" (the residual cone) where the buttons get stuck or behave strangely.
- The Solution: For this tricky canyon, they didn't guess. They used a computer to map out every single possible path through the canyon. They proved that no matter where you start in the canyon, there is a short, specific sequence of button presses that will get you out.
The Role of the Computer (The "MechMath" Team)
This is where it gets cool. The authors didn't just write the proof; they built an AI agent team to write it for them.
- The Human Part: They set up the rules and the logic.
- The AI Part: The "MechMath Agent Team" generated the natural language explanation and the formal code.
- The Verification: They used a digital proof-checker (Lean 4) to verify every single step. It's like having a super-strict librarian who checks every sentence of a book to make sure the logic holds up.
- The computer checked the "elevator buttons" and the "mountain descent."
- The only things the computer didn't check from scratch were two very famous, classical math theorems (which are like established laws of physics) and the final map of the tricky canyon (which was generated by a precise computer calculation).
The Conclusion
The paper proves that every non-negative integer can indeed be built from one triangular, one pentagonal, and one heptagonal number.
- The Result: The guess was right.
- The Method: They turned a shape problem into a square problem, found a starting point, and then proved you can always "walk down" to the perfect solution using a mix of clever math and a computer-generated map of the tricky parts.
- The Legacy: The entire proof is now "machine-checked," meaning a computer has verified that the logic is unbreakable.
In short: They solved a 2,000-year-old style of puzzle by turning it into a square, finding a starting point, and using a computer to map the last few difficult steps, all while an AI team wrote the story and the code.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.