Said his name was Pierre Fermat (wow)
And he was a mathematician
Reading Arithmetica (by Diophantus)
When he had a recognition
He came up with a new theorem
Wrote it without proof in the margin
Fermat’s last problem, ‘twas his last one ever
Know it’s history, though I can't remember
How it goes but I know that we can’t forget it
'Cause it was his last, was his last one ever
I think it went a plus b
Equals to y, no, c
And there was an n
Lots worked on Fermat’s last problem (wow)
‘Till it was proved back in ’95
Like Sophie Germain and Ernst Kummer (And Paul Wolfskehl too)
Most of them are not still alive
There were many who tried to prove it
But of course it was proved by a Brit
Fermat’s last problem, ‘twas his last one ever
It was proved to be true, Andrew Wiles was clever
Proved the Taniyama-Shimura Conjecture
And through that he proved, proved the last one ever
A, b, and c are prime
N is equal to 9
Wait hold up nooo
The theorem was proved by Sir Andrew John Wiles
And I bet that Fermat would have walked 500 miles
To nod at Sir Andrew and give him a thankful smile
And after this song I hope you'll remember
Pierre Fermat
Pierre Fermat (a, b, a, b, c)
Made a theorem, was his last one ever
Tons of math people, took up this endeavour
It will probably be remembered forever
'Cause it was his last (Fermat, Fermat)
Was his last one ever (it was his last theorem)
Fermat’s last problem, ‘twas his last one ever
Know it’s history, though I can't remember
How it goes but I know that we can’t forget it
'Cause it was his last, was his last one ever
I think it went a to the n
Added with b to the n
Is c to the n
Last one ever
It was his last one ever
