That's some impressive math skills! Thanks for posting.
Reminds me of a guy I worked for who started an accounting firm. At any moment you could give him a number and then say add, subtract or multiply another number and he'd be spitting out the answer before you finished. You could fire as many calculations as fast as you could at him and he was just like a computer.