Initial commit
This commit is contained in:
14
problem-47.py
Normal file
14
problem-47.py
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user