Smartass answers to number theory programming problems