euler problem1, 2