Correcting incorrect solution. a must not be equal to b for it to be an amicable number.
Problem 30
Problems 29 and 30