def __init__(self): self.primelist = primes.primes_alt(maxsearch) self.primeset = set(self.primelist)
def __init__(self, maxprime): self.primes = set(primes.primes_alt(maxprime)) self.highestprime = max(self.primes)