The mathematics of the Simpsons.