Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Prime Numbers >

PrimePi

PrimePi[x]
gives the number of primes (x) less than or equal to x.
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • The argument of PrimePi can be any positive real number.
  • PrimePi automatically threads over lists.
New in 2
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team