Sneha Girap (Editor)

Fermats Room

Updated on
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
7/101 Votes Alchetron
1 Ratings
Rate This

Rate This

Initial DVD release  September 29, 2009 (USA)
Country  Spain
6.8/10 IMDb

Genre  Mystery, Thriller
Running time  1h 28m
Music director  Federico Jusid
Language  Spanish
Fermats Room movie poster
Director  Luis Piedrahita Rodrigo Sopena
Release date  October 7, 2007 (2007-10-07)
Writer  Luis Piedrahita, Rodrigo Sopena
Directors  Luis Piedrahita, Rodrigo Sopena
Cast  Lluís Homar (Hilbert), Santi Millán (Pascal), Alejo Sauras (Galois), Federico Luppi (Fermat), Elena Ballesteros (Olivia), Helena Carrión (Bibliotecaria)
Similar movies  Bloody Moon, The Hunger Games: Catching Fire, Mission: Impossible III, John Wick, Salt, Taken 3
Tagline  Think inside the box

Fermat s room trailer

Fermat's Room (Spanish: La habitación de Fermat) is a 2007 Spanish thriller film directed by Luis Piedrahita and Rodrigo Sopeña. Three mathematicians and one inventor are invited to a house under the premise of solving a great enigma, and told to use pseudonyms based on famous historical mathematicians. At the house, they are trapped in a room. They must solve puzzles given by the host, who calls himself "Fermat", in order to escape the slowly closing walls of the room.


Fermats Room movie scenes

Fermats room trailer


Fermats Room movie scenes

A stranger using the alias "Fermat" invites several people to attend a convention of the country's best mathematicians. To accept the invitation, each must solve a math puzzle. Upon receipt of the correct solution, each receives as an alias the name of a famous mathematician or philosopher; they are forbidden to reveal their true identities to the other attendees. Each is instructed to arrive at a specific place and time, alone and without a cell phone, to work on "the greatest enigma".

Fermats Room movie scenes

At the appointed time, four individuals converge at a river bank: a serious young man using the alias Galois, an older man using Hilbert, a self-effacing young man using Pascal, and a stylish young woman using Oliva. At dusk, a car on the far side of the river flashes its headlights. In the car they find a PDA with GPS coordinates and travel instructions. These direct them to an abandoned warehouse in the countryside, where a back room is set up as an elegant parlor stocked with books and a large dining table set for five.

Fermat's Room wwwgstaticcomtvthumbdvdboxart196296p196296

An elderly man enters and introduces himself as Fermat. They socialize and discuss academia, mathematics, and puzzles. After dinner, Fermat receives a phone call about his daughter, whom he claims is in a coma at a nearby hospital. Mobile reception is poor, and Fermat is unclear about the meaning of the call. Insisting it might be dire news, he leaves hurriedly and forgets his coat. Fermat's wallet drops out of a pocket in the confusion. Pascal picks up the open wallet, and notices a photo of a girl.

The PDA displays a math puzzle, with a time limit of one minute. Hilbert, Oliva, and Galois work on the problem but exceed the deadline. Pascal calls it an old cliché and solves it easily. The walls contract when the deadline is exceeded. Pascal finds a sales order for four industrial presses. The group intuits that the presses are set to compress the room each time they fail to solve a puzzle by the time limit. The door has been blocked, and there is no escape. The PDA periodically displays new puzzles. As the occupants of the room work to solve the puzzles, it is revealed that Oliva and Galois have a romantic history, and that Oliva cheated on him with Hilbert.

They pile the furniture in the room to hold the moving walls, but the furniture is broken as the walls continue to contract. Pascal identifies the girl in the photo as someone that he severely injured with his car. He proposes that Fermat is trying to kill him in revenge, and that the others are collateral victims. When they discover an invitation addressed to Fermat with different instructions than theirs, they realize that Fermat was not their host after all, but another pawn of the true host. Who is their host, and why is he trying to kill them? If this is a revenge plot, the person wanting revenge would want to see it happen. As there are no visible cameras or viewpoints, the person trying to kill them must be in the room with them.

Galois, who previously gained press attention for allegedly proving Goldbach's conjecture, confesses that he lied to win back Oliva; the publicized sabotage of his presentation was staged to hide his failure. Hilbert reveals that he is the mastermind, that he has spent his entire professional life trying to prove Goldbach's conjecture and was insanely jealous that Galois beat him to the proof; he staged this "convention" to avenge himself. Fermat was a diversion who will be killed when undetectable poison gas is released in his car. Hilbert announces that he's succeeded in proving Goldbach. He hands a folder to Galois. Galois admits that Hilbert's proof is brilliant. Frustrated by their impending doom, Galois becomes angry and strikes Hilbert, rendering him unconscious.

Pascal realizes that the real Oliva, Galois, Fermat and Pascal each died at the same age as the current age of the guests using those names, but the real Hilbert died at 81, much older than the unconscious man before them. They conclude that Hilbert had an escape plan and did not intend to die with them. A furious search begins. They find a breakable wall panel and escape with Hilbert's proof.

As they return to their cars, Galois comments that he doesn't want to release Hilbert's solution under Hilbert's name, because then Hilbert "wins". He admits releasing it under his own name would be unethical but would solve his professional problems. Pascal grabs the folder and scatters the pages upon the river, remarking that the world is still the same with or without the proof.


  • Alejo Sauras: "Galois" (a reference to Évariste Galois)
  • Elena Ballesteros: "Oliva" (a reference to Oliva Sabuco)
  • Lluís Homar: "Hilbert" (a reference to David Hilbert)
  • Santi Millán: "Pascal" (a reference to Blaise Pascal)
  • Federico Luppi: "Fermat" (a reference to Pierre de Fermat)
  • Release

    Fermat's Room was originally released in Spain on November 16, 2007. It grossed approximately 284,000 USD in its opening weekend there. The movie was released in the United States in international film festivals in early 2009, before going directly to DVD. Blockbuster Inc. acquired a temporary exclusive license for its rental release in the United States.


    Fermat's Room Wikipedia
    Fermats Room IMDb Fermats Room

    Similar Topics
    Bloody Moon
    John Wick
    Mission: Impossible III