š US-Proxy
class="rustdoc-page">
Skip to main contentCrate primecount
Source - nth_prime
- Find the
nth prime using a combination of the prime counting
function and the sieve of Eratosthenes. - phi
- Partial sieve function (a.k.a. Legendre-sum).
- pi
- Counts the number of primes <=
x using Xavier Gourdonās
algorithm. Uses all CPU cores by default.