In the 10th episode of the 7th season of Futurama, titled "The Prisoner of Benda", Professor Farnsworth and Amy create a mind-swapping machine, leading to chaotic body exchanges among the characters. As the confusion escalates, everyone desperately wants to return to their original bodies. In a clever twist, the Harlem Globetrotters arrive to help, mathematically proving that reversing the mind swaps requires two spare bodies.
The episode features a theorem formulated by writer Ken Keeler, who holds a degree in mathematics. This theorem, rooted in group theory, is presented as part of the storyline and serves as a humorous yet accurate mathematical proof.
Keeler's unique blend of comedy and mathematics not only entertains but also educates viewers about complex concepts in an accessible way. The episode stands out as a memorable example of how animated series can incorporate intellectual themes while maintaining their comedic essence.
