Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Largest factor of the number 600851475143 ?
- x = 600851475143
- s = []
- for i in range(1,x):
- if x / i - x // i == 0:
- #its a factor
- s.append(i)
- print(s)
- print(max(s))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement