#prime #lower-bounds #upper-bound #number-theory

primal-estimate

State-of-the-art estimation of upper and lower bounds for π(n) (the number of primes below n) and p_k (the k-th prime)

6 releases

0.3.3 Jun 7, 2024
0.3.2 Aug 15, 2022
0.3.1 Jun 18, 2020
0.2.1 Jun 8, 2015

#1986 in Math

Download history 4072/week @ 2024-08-22 4070/week @ 2024-08-29 4102/week @ 2024-09-05 4294/week @ 2024-09-12 4180/week @ 2024-09-19 4252/week @ 2024-09-26 3763/week @ 2024-10-03 6517/week @ 2024-10-10 7602/week @ 2024-10-17 5548/week @ 2024-10-24 6273/week @ 2024-10-31 5119/week @ 2024-11-07 4558/week @ 2024-11-14 5272/week @ 2024-11-21 8422/week @ 2024-11-28 5302/week @ 2024-12-05

24,362 downloads per month
Used in 83 crates (3 directly)

MIT/Apache

21KB
251 lines

Estimate upper and lower bounds for the n-th prime, and π(n), the number of primes less than or equal to n.

This is designed to be used via the primal crate.

No runtime deps