Euler problem #2