Euler-46#Problem solved.