Various solutions to math problems found on the Project Euler site