The Simpsons contains many mathematical jokes like the one above from an early episode in the series