Implement some basic number theory algorithms