No, at the cryptographic scale of prime numbers the lookup table would need to be far too big in terms of both time to generate and storage required.
For smaller numbers see various prime sieves (Atkin, Eratosthenes)
For smaller numbers see various prime sieves (Atkin, Eratosthenes)
Storage I have a harder time wrapping my head around. Aren’t primes quite sparse at cryptographic magnitudes? And are the primes used for (say) 256-bit encryption about the same magnitude, narrowing the dimension of storage required?
For RSA one typically use 2048 or 4096 bit primes.