Fermat's Last Theorem in fiction

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