Legacy Documentation

Mathematica® Teacher's Edition (2002)

This is documentation for an obsolete product.
Current products and services
 Documentation /  Mathematica Teacher's Edition /  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 The Mathematica Book on the web: Section 3.2.4.
FilledSmallSquare Implementation Notes: see Section A.9.4.
FilledSmallSquare See also: Prime, Zeta.