PrimeQ

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

Details and OptionsDetails and Options

New in 1 | Last modified in 5
New to Mathematica? Find your learning path »
Have a question? Ask support »