Example #1
0
def isAbundant(i):
    if sum(properFactors(i)) > i: return True
    return False
Example #2
0
from helpers import properFactors

summa = 0

for i in xrange(2,10000):
    j = sum(properFactors(i))
    if j != i and sum(properFactors(j)) == i:
        summa += i
print summa