THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
Built-in Functions
Mathematical Functions
Number Theory
Prime
Usage
•
Prime[
n
]
gives the
n
prime number.
Notes
•
Prime[1]
is
2
.
• On most computer systems,
Prime[
n
]
for
n
up to
can be obtained quite quickly.
• See
Section 3.2.5
.
• Implementation notes: see
Section A.9.4
.
• See also:
FactorInteger
,
PrimeQ
,
PrimePi
,
Primes
.
• Related package:
NumberTheory`NumberTheoryFunctions`
.
• New in Version 1.
Further Examples
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: