def problem47(): candidates = [] for n in count(1): if len(set(factorize(n))) == 4: candidates.append(n) if len(candidates) == 4: return candidates[0] else: candidates = []
def problem3(): return max(factorize(600851475143))