A good prime is a prime number whose square is greater than the product of any two primes at the same number of positions before and after it in the sequence of primes.
That is, good prime satisfies the inequality
for all 1 ≤ i ≤ n−1, where pk is the kth prime.
Example: the first primes are 2, 3, 5, 7 and 11. Since for 5 both the conditions
are fulfilled, 5 is a good prime.
There are infinitely many good primes. The first few good primes are