10 lines
169 B
Python
10 lines
169 B
Python
|
from lib_prime import prime_factors
|
||
|
|
||
|
|
||
|
def euler_003():
|
||
|
return prime_factors(600851475143)[-1]
|
||
|
|
||
|
|
||
|
assert(euler_003() == 6857)
|
||
|
print("e003.py: {}".format(euler_003()))
|