nth-prime found using primes found so far