Enigma (2001) - A story of romantic and psychological intrigue set in Bletchley Park during the World War II effort to crack the German Enigma machine.
Fermat's Room (2007) - 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.
Pi (1998) - A mathematician searches for the number that underlies all of nature.
Proof (2005) - A former student (Jake Gyllenhaal) of a recently deceased, brilliant mathematician (Anthony Hopkins) finds a notebook in his office containing a proof of an important theorem, but the mathematician's daughter (Gwyneth Paltrow) claims it is hers. The ensuing dispute is complicated by signs that she may have inherited her father's mental illness and a burgeoning romance.
Raising Genius (2004) - The film is about a boy (Justin Long) who locks himself in the bathroom to work out math equations on the shower wall.
Sneakers (1992) - An eclectic team is assembled to steal a code-breaking box developed by a rogue mathematician.
Stand and Deliver (1988) - Based on the true story of math teacher Jaime Escalante, who inspired the students in a school in a Hispanic neighborhood.
Straw Dogs (1971) - David Sumner (Dustin Hoffman) is an American mathematical physicist who moves to England, where he and his wife are violently harassed by locals.
The Oxford Murders (2008) - A Student (Elijah Wood) finds out about mysterious kills in Oxford and helped by a professor, they reveals the math patterns used by the killer .