Fermat's Last Theorem in fiction

The problem in number theory known as "Fermat's Last Theorem" has repeatedly received attention in fiction and popular culture.

It was proved by Andrew Wiles in 1994.