note: this blog post is about a pretty much random piece of number theory that had gone unsolved for over 300 years, but I will admit that it’s not that exciting for regular people. Especially this one, where I’m pretty much just stealing a wikipedia article because I found it interesting. It’s my blog I do what I want.

**Fermat’s Last Theorem** states that no three positive integers $a$, $b$, and $c$ satisfy the equation $a^{n} + b^{n} = c^{n}$ for any integer value of $n$ greater than $2$.

The cases $n = 1$ and $n = 2$ have been known to have infinitely many solutions and fermat specifically pointed that out when he gave us what little information he did.

## The Story

Pierre de Fermat was a prominent french lawyer and mathematician. He used to keep a book of different ideas in math at the time and would scribble in the proofs on the edges of the page.

Fermat’s last theorem has a very interesting story. He was sitting at home alone one day by the fire sipping wine and eating cheese; reading everyone’s favorite math classic novella, The 1670 edition of Diophantus’ Arithmetica. This book contained a lot of the mathematical conjectures and theories that were believed at the time. He was reading this book and proving the conjectures within the margins of the pages!

One of the last theorems in the book was the one above, he had written that it **could** be proven, but that there wasn’t enough space in the margins of the pages at the time. (a terrible shame) So he never actually wrote down the proof; and unfortunately passwed away before writing it. Pierre de Fermat died aged 57 or 58, on January 12, 1665 in Castres, France. The cause of his death is not known. Three days before his death, he had been carrying out legal business in the local courthouse. He was buried in the Church of St. Dominique in Castres.

## The problem

Now this left us with a pretty difficult problem, all of the other proofs in the book were correct, so we had reason to believe that this theorem was also true, but we had no way to prove it!

This set the math community ablaze.

With the special case $n = 4$ proved by Fermat himself, it suffices to prove the theorem for exponents $n$ that are prime numbers (this reduction is considered trivial to prove, mostly by angry math professors). Over the next **two centuries** (1637–1839), the conjecture was proved for only the primes $3$, $5$, and $7$, although Sophie Germain innovated and proved an approach that was relevant to an entire class of primes.

Ernst Kummer extended this and proved the theorem for *all regular primes*, leaving irregular primes to be analyzed individually. Building on Kummer’s work and using sophisticated computer studies (probably a big for loop tbh), other mathematicians were able to extend the proof to cover all prime exponents up to *four million*, but a proof for all exponents was inaccessible (meaning that it was either impossible, exceedingly difficult, or unachievable with current knowledge).

## The mystery intensifies

Entirely separately, around 1955, Japanese mathematicians Goro Shimura and Yutaka Taniyama suspected a link might exist between elliptic curves and modular forms, two completely different areas of mathematics. Known at the time as the Taniyama–Shimura-Weil conjecture, and (eventually) as the modularity theorem, it stood on its own, with no apparent connection to Fermat’s Last Theorem. It was widely seen as significant and important in its own right, but was (like Fermat’s theorem) widely considered completely inaccessible to proof.

## The last guy that would be tortured by this french troll.

Enter Andrew Wiles, he grew up with a childhood fascination with Fermat’s theorem (not a fun childhood in the opinion of this author). He had a background of working with elliptic curves and related fields, decided to try to prove the Taniyama–Shimura conjecture as a way to prove Fermat’s Last Theorem. In 1993, after **six years working in secrecy** on the problem, Wiles succeeded in proving enough of the conjecture to prove Fermat’s Last Theorem. Wiles’s paper was massive in size and scope. A flaw was discovered in one part of his original paper during peer review and required a further year and collaboration with a past student, Richard Taylor, to resolve. For his proof, Wiles received the 2016 Abel Prize.

To imagine dedicating your life to solving a problem, spending six years in secrecy only to have an error pointed out when publsihing the solution. When he discovered the missing piece and complete the proof after an additional year must have been incredible.

"I was sitting at my desk examining the Kolyvagin–Flach method. It wasn’t that I believed I could make it work, but I thought that at least I could explain why it didn’t work. Suddenly I had this incredible revelation. I realised that, the Kolyvagin–Flach method wasn’t working, but it was all I needed to make my original Iwasawa theory work from three years earlier. So out of the ashes of Kolyvagin–Flach seemed to rise the true answer to the problem. It was so indescribably beautiful; it was so simple and so elegant. I couldn’t understand how I’d missed it and I just stared at it in disbelief for twenty minutes. Then during the day I walked around the department, and I’d keep coming back to my desk looking to see if it was still there. It was still there. I couldn’t contain myself, I was so excited. It was the most important moment of my working life. Nothing I **ever do again** will mean as much."

This is the small but fun story of Fermat’s last theorem, formally proven and published in 1995, 358 years after it was first conceived; due to the dedication of Andrew Wiles.

note: Like I said, I didn’t have much to go on when it came to the second blog post I promised, but here it is. I hope the story behind this fun thing was relatively interesting, I didn’t have the time or the background to go into the proof here, but you can find the linked paper below. (it’s over 100 pages so have fun.)

## Sources

- Check out Andrew Wiles’s paper here.
- Wikipedia lol