示例#1
0
def solve():
    guess = 2
    count = 0
    while True:
        if len(prime_factors(guess)) == 4:
            count += 1
        else:
            count = 0
        if count == 4:
            return guess-3   
        guess += 1
示例#2
0
def solve():
    num = 600851475143
    return max(prime_factors(num))