Amicable numbers: set improves performance