Calculates primes starting at 1.