The Mystery of Fermat's Last Theorem

The story of how a simple equation a schoolchild could understand vexed the world's greatest mathematicians for hundreds of years.

In the 17th century, mathematician Pierre de Fermat was finding solutions to the equation

When n= 2 there are infinite solutions and can be tackled by school children learning Pythagoras.

32 + 42 = 52 for example.

 But when n = 3, 4, or any number greater than 2, were there any solutions? 

 Fermat wrestled with the problem and failed to find many solutions. He then asked the question: are there any solutions at all?

After struggling with the problem he found a proof that there were no solutions for xn + yn = zn when n >2.  

The evening of his discovery he read Arithmetica by the Greek mathematician Diophantus and cryptically scribbled a note in the margin stating

"I have a truly marvellous proof which the margin of this book is too small to contain"

Fermat never lived to write his proof and the only evidence he left was this note discovered by his son after his death.

And so began a problem tackled by the greatest mathematical minds of all time such as Euler, Gauss, Germain, Hilbert, and hundreds of others to solve what became known as Fermat’s Last Theorem.

Leonard Euler

For hundreds of years, all were defeated until the 1960s when 10-year old Andrew Wiles came across Fermat, and immediately he was hooked. For his teenage years and early adult life, he spent years obsessively questioning, reading, researching, anything he could do to solve Fermat.

But by his 30s he had given up until by chance a paper crossed his desk about the obscure Taniyama-Shimura Conjecture published in the 1950s. To the uninitiated this seemingly had nothing to do with Fermat however Wiles instantly realised that if he proved Taniyama-Shimura it would lead to a proof of Fermat.

Inspired, he abandoned his research and worked in complete solitude for 7 years obsessing over the problem. In 1993 after 7 long years working he realised he had proved Taniyama-Shimura and therefore had Fermat in his grasp.

He emerged and presented his findings at the Newton Institute in Cambridge in 1994 to an incredulous mathematical community. 


Upon review one small but critical mistake was found and Wiles was in danger of being another mathematician who claimed to have solved Fermat only to suffer ridicule from his peers.

Wiles retreated and for one more year worked to rectify his mistake only to find with every correction his proof unraveled even further. Close to admitting defeat he contacted his old student Richard Taylor and together they submitted a final proof and after 358 years the problem, tackled by some of the greatest minds in history, was solved and Wiles stood atop them as the conqueror of Fermat's Last Theorem.

In honour of Wiles and other giants of maths, we included Fermat's Last Theorem and many other seminal equations on our math notebook and mugs

Leave a comment

Please note, comments must be approved before they are published