near-square prime
A near-square prime is a prime number
of the form , with being any integer and also an integer. Since for any nonzero real number it is always the case that , it doesn’t matter if is negative.
Fermat primes are near-square primes for with the additional requirement that , while Carol primes are near-square primes for with the additional requirement that .
For , only gives a prime, namely 3.