prime-counting function
Sign in to savefunction representing the number of primes less than or equal to a given number
~21 min read
Encyclopedic overview
The values of π(n) for the first 60 positive integers
In mathematics, the prime-counting function is the function counting the number of prime numbers less than or equal to some real number x. It is denoted by π(x) (unrelated to the number π).
Excerpted from Wikipedia’s “prime-counting function” article, available under the CC BY-SA 4.0 licence.