A positive integer is called ingenious if is a prime. Find the number of ingenious integers between and (inclusive).
Details and assumptions
You may refer to this list of primes.
As an explicit example, when we have which is a prime.
This problem was inspired by IMOSL 2004 N2.