Return prime factor of 1 correctly.
Problem 21: Amicable numbers