The "right" way that he presents at the beginning of the song is a way that I've never encountered anyone doing. It's actually fairly interesting:
> Consider the following subtraction problem, which I will put up here: 342 minus 173. Now, remember how we used to do that…Three from two is nine, carry the one, and if you’re under 35 or went to a private school you say seven from three is six but if you’re over 35 and went to a public school you say eight from four is six, and carry the one, and we have 169.
"Three from 2 is 9, carry the one"; it seems to be a completely algorithmic way of doing the calculation, where you end up with the right answer at the end, but it's completely detached from what's actually happening. Tom Lehrer - a math teacher, it should be noted - was mocking the idea of teaching people what was actually happening with subtraction. We see a similar thing today, where people mock the idea of teaching math concepts with Common Core because they think people should just use an algorithm to get the answer, even if they don't understand what's happening.