Mathematica 9 is now available

PrimePi

Usage

PrimePi[x] gives the number of primes  less than or equal to x.


Notes

• The argument of PrimePi can be any positive real number.
PrimePi[1] gives 0.
• See Section 3.2.5.
• Implementation notes: see Section A.9.4.
• See also: Prime, Zeta.
• New in Version 2.


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.