Retrieving of previous primes