A collection of math related functions that I use throughout my project euler solutions.