Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = 2
- #function
- def factor(x):
- factors = []
- i = 2
- while x > 1:
- if x % i == 0:
- x = x / i
- factors.append(i)
- else:
- i += 1
- factors = sorted(set(factors))
- return factors
- #loop
- while len(factor(n)) <6 or n % 133 != 3:
- n +=1
- print n
- print n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement