Initial commit

This commit is contained in:
Kevin Keogh
2018-07-02 15:45:49 -04:00
parent 60b3954a3b
commit fd817f8811
28 changed files with 809 additions and 0 deletions

14
problem-47.py Normal file
View File

@@ -0,0 +1,14 @@
from primes import prime_factors
if __name__ == '__main__':
factors = [None, None, None, None]
for i in range(3, 1000000):
factors.append(prime_factors(i))
factors = factors[1:]
if None in factors: continue
if all(len(set(x)) > 3 for x in factors):
print(i - 3, i, [set(x) for x in factors])
break