- PrimeQ gives False.
- PrimeQ[-n], where n is prime, gives True.
- PrimeQ[n,GaussianIntegers->True] determines whether n is a Gaussian prime.
- PrimeQ[m+In] automatically works over the Gaussian integers.
- Simplify[expr∈Primes] can be used to try to determine whether a symbolic expression is mathematically a prime.
Introduced in 1988
(1.0)| Updated in 2003