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

Documentation / Mathematica / Built-in Functions / Mathematical Functions / Number Theory /


FilledSmallSquare Prime[n] gives the n prime number.

FilledSmallSquare Prime[1] is 2.

FilledSmallSquare On most computer systems, Prime[n] for n up to can be obtained quite quickly.

FilledSmallSquare See Section 3.2.4.

FilledSmallSquare Implementation Notes: see Section A.9.4.

FilledSmallSquare See also: FactorInteger, PrimeQ, PrimePi, Primes.

FilledSmallSquare Related package: NumberTheory`NumberTheoryFunctions`.

FilledSmallSquare New in Version 1.

Further Examples