|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
PrimeQ
Details and OptionsDetails and Options
- PrimeQ[1] 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.
New in 1 | Last modified in 5
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
