PrimeQ

PrimeQ[expr]
yields True if expr is a prime number, and yields False otherwise.

Details and OptionsDetails and Options

Introduced in 1988
(1.0)
| Updated in 2003
(5.0)