Toptal Interview Question

Something about identifying Amicable Numbers