11 lines
90 B
Python
11 lines
90 B
Python
|
n = 600851475143
|
||
|
i = 2
|
||
|
|
||
|
while i * i <= n:
|
||
|
if n % i:
|
||
|
i += 1
|
||
|
else:
|
||
|
n //= i
|
||
|
|
||
|
print(n)
|