Blog post on math tricks in Python