Fermat and His Muse, a sculpture of 1898 in the Salle des Illustres, Capitole de Toulouse. Sculptor: Théophile Barrau (1848–1913).
Fermat and His Muse, a sculpture of 1898 in the Salle des Illustres, Capitole de Toulouse. Sculptor: Théophile Barrau (1848–1913). · Source

Every school pupil has heard of the world’s most popular theorem, the Pythagorean theorem. Few, however, know that it provided the basis for the most maddening theorem in mathematics: Fermat’s Last Theorem. Great mathematicians and amateurs tried to prove it because it seemed simple, but their attempts, naturally, failed. It seized hold of enthusiasts so completely that they forgot their other affairs and could think of nothing else.

“Pythagoras's trousers are equal on every side!”—a Russian schoolroom mnemonic.
“Pythagoras's trousers are equal on every side!” — a Russian schoolroom mnemonic. · Source

The history of the Last Theorem is unique, with roots in ancient Greece. The submerged part of this iceberg sinks into the ocean of mathematical history, while its summit rises into the unseen, cloud-shrouded heights of modern number theory.

Pierre de Fermat, 17 August 1601 – 12 January 1665.
Pierre de Fermat, 17 August 1601 – 12 January 1665. · Source

The creator of this puzzle was the “great amateur”, Pierre de Fermat (1601–1665), a lawyer from Toulouse. He was not a professional mathematician, yet left an enormous mark on science. The seventeenth century was a revolutionary period for mathematics. Fermat was one of the creators of analytic geometry and probability theory, and is regarded as the father of modern number theory. He loved creating new theorems in the quiet of his study — and teasing his mathematical contemporaries by challenging them to find the missing proof.

In 1637, Fermat’s famous notes appeared in the margins of the Arithmetica of Diophantus, the ancient Greek mathematician who solved indeterminate equations. Diophantus posed the problem: “Divide a square number into two other square numbers.” In algebraic language, integer solutions of x² + y² = z² are called Pythagorean triples, because they give the sides of a right triangle, the triangle to which the Pythagorean theorem applies.

Fermat wrote: “It is impossible to divide a cube into two other cubes, a fourth power, or generally any power higher than the second, into two powers of the same degree, and I have found a truly remarkable proof of this, but the margins are too narrow to contain it.” He thus created the most difficult problem on Earth, called “Fermat’s Last Theorem”: the equation xⁿ + yⁿ = zⁿ, n > 2, has no solution in positive integers. He seemed to tease posterity with false hopes. So began a race that lasted until the end of the last century.

A definitive proof was announced in 1995 by Andrew Wiles, a professor at Princeton University. Yet its method is so complex that barely ten people worldwide command it in full. It is therefore still hard to believe that the story has reached its conclusion.

The Last Theorem had a major influence on the development of mathematics. It breathed life into the fields connected with attempts to prove it.

Its rich history has included death and fraud. Prizes were offered for a proof. In 1908, the Wolfskehl Prize of 100000 marks was announced for the first person to prove the theorem within 100 years. Professional mathematicians considered the search hopeless and refused to spend time on such a fruitless pursuit. Yet the prize implanted Fermat’s problem in the minds of a non-professional audience eager to test themselves against an unassailable puzzle without adequate preparation.

Within weeks of the prize competition’s announcement, an avalanche of “proofs” descended on the committee at the University of Göttingen. Every one was incorrect. Amateur enthusiasts easily wandered off the path of logic. The dean of the mathematics faculty, Professor Edmund Landau, had to invent an elegant way to escape the tiresome correspondence. At his request, cards were printed with this text:

“Dear … Thank you for sending your manuscript containing a proof of Fermat’s Last Theorem. The first error occurs on page … at line … It invalidates the entire proof. Professor E. Landau.”

Edmund Georg Hermann Landau, 14 February 1877 – 19 February 1938.
Edmund Georg Hermann Landau, 14 February 1877 – 19 February 1938. · Source

Landau handed each submitted proof, together with a card, to a student and asked them to fill in the blanks.

The applicants’ letters contained much curious material. One sent half a proof and promised the second half if he received an advance. Another promised a share of his income once he became famous, provided he was supported immediately. A third threatened to send his proof to a Russian university, depriving the committee of the glory of the discovery. Authors often visited Göttingen and insisted on a personal meeting and discussion. Some manuscripts were referred to psychiatrists, who diagnosed severe schizophrenia.

Amateurs thus suffered one failure after another, while professional mathematicians continued to ignore Fermat’s problem. At last, near the century’s end, a professional appeared who completed the saga. Wiles’s two papers, totalling 130 pages, were carefully scrutinised and published in Annals of Mathematics in May 1995. The mathematical community could finally rest. In 1997, Wiles received the Wolfskehl Prize, worth 50000 dollars. Fermat’s Last Theorem was officially recognised as proved.

Sir Andrew J. Wiles, a British mathematician at the University of Oxford. In 1995 he proved Fermat's Last Theorem using semistable elliptic curves.
Sir Andrew J. Wiles, a British mathematician at the University of Oxford. In 1995 he proved Fermat's Last Theorem using semistable elliptic curves. · Source

What, then, of the brilliant Fermat’s own proof? Many mathematicians believe they can win recognition and fame by discovering Fermat’s original proof using only methods known in his time. Let the professionals pursue it, though, or it will become another obsession.