Implement Amicable numbers.