In the episode “The Prisoner of Brenda” writers created a plot so complex, they found themselves dumbfounded. Writer Ken Keeler finally created a theorem, proving that the plot was plausible. In the episode, the Harlem Globetrotters solve the problem that had proved such a conundrum!