Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = 600851475143
- pf = []
- i = 2
- while i <= n:
- if n % i == 0:
- pf.append(i)
- n = n / i
- else:
- i = i + 1
- print(pf)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement