This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Primes

Primes
represents the domain of prime numbers, as in xPrimes.
  • xPrimes evaluates only if x is a numeric quantity.
  • Simplify[exprPrimes] can be used to try to determine whether an expression corresponds to a prime number.
  • The domain of primes is taken to be a subset of the domain of integers.
New in 4