*The Simpsons *aired an episode in the late ’90’s called the “The Wizard of Evergreen Terrace.” In it, Homer Simpson seems to solve a notoriously impossible to solve equation known as Fermat’s Last Theorem.

Pretty cool, right? Well, as this NPR article describes it, Homer only comes close: “… while he seems to triumph, Homer’s solution is what mathematicians call “a near miss” — a fancy way of saying “D’oh!” It doesn’t quite work.”

Where does Homer go wrong? Well, first let’s talk a little more about Fermat’s Last Theorem. The theorem states that no three positive integers a, b and c can satisfy the equation a^{n} + b^{n} = c^{n } when n is an integer greater than 2. And yet, Homer’s numbers, which are positive integers greater than 2, actually seem to work. On the blackboard, you can see the numbers 3,987^{12}+4,365^{12}=4,472^{12}. This is an apparently viable solution.

Take a look at the screenshot:

But, according to Numberphile this is only true at first glance. As Simon Singh, a British physicist and author of *The Simpsons and Their Mathematical Secrets*, explains in the following video, Homer’s answer, many decimal points down the line, doesn’t balance out even though it nearly does.

It’s a really interesting video. Singh, who actually interviewed the Simpsons writing staff to write his book, attributes Homer’s math skills to the writers on *The Simpsons’ *staff, many of whom it turns out are trained mathematicians. Who knew?

We hope you enjoyed this post. It’s pretty interesting stuff mostly because who doesn’t love learning important things from the Simpsons?

Before you go, be sure to take a look at our tax newsletter for May 2014!