Add Project Euler utility functions.