The corresponding primes are the primes in A262575.
The actual values of a(1) to a(4) are also primes, although that is not a necessary condition for a number to belong to this sequence. Not all the terms of A262300 are primes, for example.
Probabilistic arguments suggest the sequence is infinite.
a(5) > 10000. - Robert Price, Nov 03 2018