Collection of functions used primarily for Project Euler solutions