Random project euler hackings.