NumberTheory
PrimeCounting
number of prime numbers less than a number
Calling Sequence
Parameters
Description
Examples
Compatibility
PrimeCounting(x)
pi(x)
x
-
positive real number
The PrimeCounting(x) command computes the number of prime numbers less than or equal to x.
pi is an alias of PrimeCounting.
The prime counting function is approximated by and .
The NumberTheory[PrimeCounting] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
ithprime
Download Help Document