fix typo in numbertheory.py