I like that story, too, but note that the actual quote was:
"I have discovered a truly marvelous proof of this, which this margin is too narrow to contain."
https://upload.wikimedia.org/wikipedia/commons/2/24/Diophant...
https://en.wikipedia.org/wiki/Fermat%27s_Last_Theorem#Fermat...