new approach on primes to calculate n primes, not primes up to n