DocumentationMathematicaBuilt-in FunctionsMathematical FunctionsNumber Theory
Prime[n] gives the n prime number.
Prime is 2.
On most computer systems, Prime[n] for n up to can be obtained quite quickly.
See Section 3.2.4.
Implementation Notes: see Section A.9.4.
See also: FactorInteger, PrimeQ, PrimePi, Primes.
Related package: NumberTheory`NumberTheoryFunctions`.
New in Version 1.