Page 1 of 1

Problem 021

Posted: Tue Jul 11, 2023 4:11 am
by anadon
In the line "Evaluate the sum of all the amicable numbers under 10000.", the problem could have an ambiguity about if there is a pair of amicable numbers whereby one is over 10000 and one is under 10000. I think this should be clarified such that it is explicit that if one of the numbers is over the limit that only the higher number be omitted, or the pair be omitted. I haven't solved it yet, so I can't be sure of the specific behavior at the 10000 limit, but there do exist other limits for which such a distinction would make a difference in the results.

Re: Problem 021

Posted: Wed Jul 12, 2023 3:59 pm
by skoczian
There already is a thread for this problem at http://projecteuler.chat/viewtopic.php?f=50&t=1078. Same title, same subforum. Your question is answered there.