The Cube trilogy. It's such a weird collection of films but so amazing to watch. If you like movies like The Maze Runner, Saw, basically any film that pits people against each other and a much larger force in charge.
In this case, it's about a group of people who, without any recollection of it, end up kidnapped and thrown into a huge cube structure, where they have to find their way out without being killed by the numerous traps along the way. It's a movie that really makes you think, especially because it starts to involve math equations and all that junk later on. It's definitely worth a watch. The first one deals with math and patterns, the second deals with time and space, and the third is sort of a prequel to the first film.
They're all awesome. Please consider watching them, they're so underrated it hurts u o u