a list compiled by Alex Kasman (College of Charleston)

Home All New Browse Search About

Fermat's Room (La Habitacion de Fermat) (2007)
Luis Piedrahita / Rodrigo Sopeña
Highly Rated!

In this Spanish thriller, four mathematicians are invited to a booby trapped room where they must solve mathematical puzzles to prevent the walls from closing in and crushing them. This leaves them little time to puzzle out the most important question of what they have in common and who might want to kill them.

One of the four is a young mathematician famous for having proved Goldbach's Conjecture. The others are an engineer who disdains pure mathematics, a sad older man who enjoys only math and chess, and a young woman. Despite Fermat's name being in the title, Fermat's Last Theorem is not at all important here. Each character is given a pseudonym (Hilbert, Galois, etc.) and the invitations they received were signed by "Fermat". Actually, Goldbach's Conjecture is the main mathematical topic of interest. (Still, in thinking about what else "Fermat" might mean, I wonder if we are supposed to see a parallel between the walls closing in to crush them and Fermat's famous statement that the "margins are too narrow...."? No probably not.)

Some squeamish viewers or concerned parents (I count myself as being in both sets) may be interested in knowing that this movie is not nearly as violent as similar films like Cube. There are a few deaths caused by the evil plot, but they are not bloody or gory.

The DVD with English subtitles is now available in all of the usual places, and you can see the preview on YouTube.

Thanks to Stan Cohen for bringing it to my attention!

Contributed by Juan Marin

An Agatha Christie type whodunit seasoned with a hit parade of classic mathematical problems.

More information about this work can be found at
(Note: This is just one work of mathematical fiction from the list. To see the entire list or to see more works of mathematical fiction, return to the Homepage.)

Works Similar to Fermat's Room (La Habitacion de Fermat)
According to my `secret formula', the following works of mathematical fiction are similar to this one:
  1. Furuhata Ninzaburô (Episode 13) by Kôki Mitani
  2. Babirusa by Arula Ratnakar
  3. The Brink of Infinity by Stanley G. Weinbaum
  4. No One You Know by Michelle Richmond
  5. Twisted Seduction by Dominique Adams (writer and director)
  6. The Integral: A Horror Story by Colin Adams
  7. Oh, Brother by Stanley Hart
  8. The Crimson Cipher by Susan Page Davis
  9. Pythagorean Crimes by Tefcros Michaelides
  10. The Last Equation of Isaac Severy by Nova Jacobs
Ratings for Fermat's Room (La Habitacion de Fermat):
RatingsHave you seen/read this work of mathematical fiction? Then click here to enter your own votes on its mathematical content and literary quality or send me comments to post on this Webpage.
Mathematical Content:
4.25/5 (4 votes)
Literary Quality:
3/5 (4 votes)

GenreMystery, Adventure/Espionage,
MotifEvil mathematicians, Mental Illness, Proving Theorems, Female Mathematicians, Romance,
TopicAlgebra/Arithmetic/Number Theory,

Home All New Browse Search About

Exciting News: The 1,600th entry was recently added to this database of mathematical fiction! Also, for those of you interested in non-fictional math books let me (shamelessly) plug the recent release of the second edition of my soliton theory textbook.

(Maintained by Alex Kasman, College of Charleston)