Both Jurassic Park (1993) and The Lost World: Jurassic Park (1997) had a mathematician as one of the main (human) protagonists. Jeff Goldblum played chaos theory mathematician Dr. Ian Malcolm, who tried to sound a warning about the inherent instability of the park’s experiment with dinosaurs. Unfortunately, no one listened to him and the dinosaurs made the best of it by taking over the island. In the second movie, Dr. Malcolm has to rescue a colleague/love interest (and his daughter) on a second island from dinosaurs, and of course, evil corporate dinosaur hunters.