Prime
Prime[n] gives the n prime number.
Prime[1] is 2. On most computer systems, Prime[n] for n up to can be obtained quite quickly. See The Mathematica Book on the web: Section 3.2.4. Implementation Notes: see Section A.9.4. See also: FactorInteger, PrimeQ, PrimePi, Primes.
Further Examples