Mathematica 9 is now available

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

PrimePi

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

FilledSmallSquare The argument of PrimePi can be any positive real number.

FilledSmallSquare PrimePi[1] gives 0.

FilledSmallSquare See Section 3.2.4.

FilledSmallSquare Implementation Notes: see Section A.9.4.

FilledSmallSquare See also: Prime, Zeta.

FilledSmallSquare New in Version 2.

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.