wrote a supposedly effecient way to find all of the proper divisors of a number