project euler - problem 4 [solved]