Project Euler #1: Multiples of 3 and 5 bug fix