@@ -0,0 +1,265 @@
+from functools import reduce%0An = int(input())%0Adef factorGenerator(n):    %0A    return set(reduce(list.__add__, (%5Bi, n//i%5D for i in range(1, int(n**0.5) + 1) if n %25 i == 0)))%0Afinal = 0%0Afor i in range(1, n + 1):%0A    final += sum(list(factorGenerator(i)))%0Aprint(final)%0A

Create sumofalldivisors.py