PrimePi
gives the number of primes less than or equal to
x
.
See
- Wikipedia - Prime-counting function
- Wikipedia - On the Number of Primes Less Than a Given Magnitude
- Fungrim - Prime numbers
Examples
Implementation status
- ☑ - partially implemented