Details and Options
- 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 1988Updated in 2003