Example #1
0
from gauss import divisors

i = 1

while 1:
    i += 1
    l = sum(xrange(1, i))
    if len(list(divisors(l))) > 500:
        print l
        break
Example #2
0
def d(n):
    return sum(divisors(n)[:-1])
Example #3
0
def d(n):
    return divisors(n)[:-1]