about prime number generation
Adrien Prost-Boucle
adrien.prost-boucle at laposte.net
Thu May 19 20:39:48 CEST 2022
Hi Enrique,
As far as I know, GMP does not at the moment implement what you are looking for.
The best I know is the following (has already been mentioned a bit in the past in this mailing list) :
https://github.com/kimwalisch/primecount
Curiosity question :
Did you already experiment with the project above, would there be a property of it that makes you want to look elsewhere too ?
Regards,
Adrien
On Sat, 2022-04-30 at 12:31 +0000, Garcia Moreno-Esteva, Enrique wrote:
> Hello,
>
> I apologize this is not a comment about your webpage, but more a question about your library. Would your library contain a function (call it p(n) ) that generates the n-th prime? If it does not, alternatively, do you have a lower bound for certifiably producing the next prime with the nextprime function in your library (it is probabilistic, but such probabilistic methods are deterministic below certain bounds, so my question is, what is the lower bound for your function)?
>
> I thank you in advance for your help.
>
> Enrique Garcia Moreno-Esteva
>
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-discuss
More information about the gmp-discuss
mailing list