Without doubt, the most mathematically sophisticated television show in the history of primetime broadcasting is 'The Simpsons'.