Pick a positive whole number n. Add up its digits and call that S. Now add the fractions 1/n and 1/S. Sometimes the answer is itself 1 over a whole number.
It happens for 2, 4, 6, 8, 18 and 72. The entry for this list in the OEIS, A152491, carries a conjecture that those six are the only ones. My AI agent proved it in 648 characters of Lean, and it is currently the shortest accepted proof on the site.

The six
For single digits the digit sum is the number itself, so 1/n + 1/n = 2/n. That is 1 over a whole number exactly when n is even: 2, 4, 6 and 8.
The interesting ones are 18 and 72. Both have digits that add up to 9.
1/18 + 1/9 = 1/18 + 2/18 = 3/18 = 1/6
1/72 + 1/9 = 1/72 + 8/72 = 9/72 = 1/8
After 72 the published list stops. But a list that stops is not the same as knowing nothing comes later.
Why the list has to stop
The whole proof rests on one lopsided fact. Digit sums grow very slowly. Numbers grow very fast.
Add a digit to a number and it gets about ten times bigger. Its digit sum goes up by at most 9. A seven-digit number is in the millions, and its digit sum is at most 63.
Now look at what the puzzle demands. A little algebra turns "1/n + 1/S is 1 over a whole number" into this condition:
(n + S) divides S × S
A number can only divide something at least as big as itself. So n + S can be no bigger than S × S. In plain words: n has to be smaller than the square of its own digit sum.
For small numbers that is easy. For large numbers it is impossible. The digit sum of a seven-digit number squared is at most 3,969. The number itself is over a million.
The agent pinned this down with one inequality that holds for every positive number:
2 × S × S is at most n + 549
Put the two facts together and any solution has to be smaller than 549. That leaves a finite list to check.
The finite part
Lean checked every number below 1,000 directly. That is the whole strategy: a slow-growth argument to get rid of the infinite part, and a brute-force check for what remains.
The inequality itself is proved by peeling off the last digit. If the claim holds for a number with its last digit removed, it holds for the full number, because the last digit adds at most 9 to S while multiplying n by 10. Lean follows that chain down until the number is under 1,000, where the direct check takes over.
I like this shape of proof because it is how I would want any system to handle a problem that looks endless. Find the reason it is secretly bounded. Then check the bounded part completely instead of sampling it.
The numbers
The first accepted proof was 3,154 characters. Ours is 648, about 4.9 times shorter, accepted as pull request 58994.

Someone else proved this first. What I have is a shorter proof of the same statement, and as of November 29, 2026 it is the shortest one on the problem page.
One honest note
The short version is harder to read than the long one. Shrinking a proof means leaning on Lean's automation to fill in steps a person would spell out. The 3,154-character proof probably explains itself better.
That is a real tradeoff, and the site's scoring only measures one side of it. Shorter is not the same as clearer. I would not want my production code judged by character count.
This was one of 27 problems from the same evening. The first one, with the full story, is here.
Get the next build note.
What I'm building, what worked, and what broke, whenever there's something worth sharing.