Bedazzled
Some trivia about the Faustian film "Bedazzled" (which came out in the year 2000 and stars Elizabeth Hurley and Brendan Frazier) regarding Fermat's Theorem (from moviemistakes.com):
"This is not a mistake but something clever.
When the Devil was a schoolteacher, the first equation on the board was
Fermat's Last Theorem
(X n + Y n = Z n for n > 2).
It was proven in 1993 that there is no integer solution to this equation;
exactly the kind of problem the Devil would give to an algebra class,
but not really expected in your standard Hollywood film."