Gotta love the Futurama episode titled “The Prisoner of Benda” that aired on August 19th, 2010.
Don’t worry if you haven’t watched it, there will be no spoilers here. Well, with the exception of the screenshot above.
The Futurama gang tried to solve a group theory and it does remind me an episode of Stargate SG-1 titled “Holiday” (Season 2 episode 17). The SG-1 team also tried to solve a group theory but with a smaller set of variables.
In the spirit of South Park episode titled “Simpsons Already Did It” (Season 6 Episode 7):
Stargate SG-1 Did It!