Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
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
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team