PrimePi

Prime numbers


PrimePi[x]

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

PrimePi is the inverse of Prime:

Prime
PrimePowerQ