Mathematica 9 is now available

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

Prime

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



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.