Problem · Solved · Mathematics
Fermat’s Last Theorem
Listen
A mathematician scribbled that he had a marvelous proof, then left the world to wait more than three hundred years for someone to finish the job.
01 · History
The dare in the margin
A dare in a margin. A marvelous proof that never turned up. Three centuries of mathematicians took the bait anyway. Pride has a long half-life.
You already know one friendly equation: 3² + 4² = 5². Whole numbers can sit on the sides of a right triangle. In 1637, Pierre de Fermat was reading Diophantus, an old Greek book of number problems, and wrote in the margin that if you raise the powers higher than two, there are no positive whole numbers a, b, c with aⁿ + bⁿ = cⁿ. He added that he had a marvelous proof, but the margin was too small to hold it.
No full proof from Fermat ever turned up. Either he overclaimed, or he hid the argument so well that it died with him. For centuries, mathematicians chipped away at special cases. Fermat himself handled exponent four. Euler took exponent three and stumbled on a gap about unique factorization. Each win felt like progress. None closed the whole claim for every exponent greater than two.
In the 1980s the story changed shape. Gerhard Frey, Jean-Pierre Serre, and Ken Ribet connected Fermat’s claim to a question about elliptic curves (gentle-looking equations that hide deep arithmetic). If a forbidden Fermat solution existed, it would create a curve so strange that it should not exist under a big conjecture of the time, often called modularity for a class of elliptic curves.
Andrew Wiles had been obsessed since childhood, after finding the problem in a library book. He worked in secret for years. Pride, patience, and a little terror. In 1993 he announced a proof. A gap appeared under scrutiny. Almost public humiliation. In 1995, with Richard Taylor, he closed the gap. The margin note finally had a modern proof behind it, built from tools Fermat could not have imagined.
How long the wait felt
- 1637Margin note
- 1750s–1800sSpecial cases
- 1986Link to curves
- 1993Wiles announces
- 1995Proof complete
02 · Exact statement
The claim in one sentence
Fermat’s last theorem
There are no positive integers a, b, c, and n with n > 2 such that aⁿ + bⁿ = cⁿ.
In plain language: for ordinary squares, whole-number right triangles exist. For cubes, fourth powers, and every higher matching power, you cannot split a perfect power into two smaller ones of the same power using positive whole numbers. The exponent two is special. Every larger exponent is forbidden.
03 · Where it stands
Settled. The proof is modern, long, and accepted.
The mathematical community checked the repaired argument and accepted it. Later work widened the modularity theorems still further, so the bridge Wiles used sits inside an even larger finished landscape.
The romance of the missing elementary proof remains. Maybe Fermat had a clever idea for a few exponents and overclaimed. Maybe a short proof still hides somewhere. What we have now is a theorem with a published, scrutinized demonstration.
- Formal status
- Solved. Proof completed by Andrew Wiles with Richard Taylor in 1995.
- Route that worked
- Show that a Fermat counterexample would create an elliptic curve that cannot be modular, then prove the needed modularity.
- What people still debate
- Whether a shorter proof closer to Fermat’s tools might someday appear.
- What remains missing
- Fermat’s own “marvelous” argument, if it ever existed in a form that covers every exponent.
04 · Visualizations
See the claim before you trust the lore
The hunt below is tiny on purpose. It shows why the exponent two feels special, and why higher exponents look empty when you search by hand.
Integer hunt
Look for whole numbers with an + bn = cn.
- Solutions found
- 11
- One example
- 3^2 + 4^2 = 5^2
05 · Impact
Why a finished margin note still matters
Fermat’s claim was never mainly about engineering. It was a beacon. It said that a simple sentence about whole numbers could outrun the best tools of generation after generation. Closing it showed that deep modern machinery from number theory and geometry could settle a question a child can state.
The human story matters too. Secret work, a public crack, a repaired proof, and a childhood dream completed in middle age: that is part of why the theorem sits in public memory. Some problems do end, and the ending can be as strange as the wait.
Dive deeper
Video
Fermat’s Last Theorem
Numberphile ↗
Simon Singh on the childhood promise and the long hunt.
Video
The Bridges to Fermat’s Last Theorem
Numberphile ↗
Ken Ribet on the modularity bridge that made a proof possible.
Reading
Modular elliptic curves and Fermat’s Last Theorem
Andrew Wiles (Annals of Mathematics) ↗
The 1995 paper that closed the three-century gap.