The first line of dialogue in Fermat’s Room serves as an ultimatum: “Do you know what prime numbers are? Because if you don’t, you should just leave now.” Should you get over that bar, the concept is intriguing enough: Four brilliant mathematicians are brought together by a mysterious invitation signed “Fermat.” They soon find themselves locked in an ornate room whose walls slowly close in if they fail to solve math puzzles in time; they also must decipher the strange circumstances by which they came together. Writer-directors Luis Piedrahita and Rodrigo Sopeña sabotage an otherwise clever screenplay with riddles and red herrings. There are plenty of neat flourishes and dramatic moments, but over time, we’re left with a pedestrian film to which the titular genius would probably have been loath to lend his name.

Friday at 8:45 p.m. Also at 7:30 p.m. on Sunday, April 19. Both showings at Landmark’s E Street Cinema.