<selcukkeskin at live.com> writes: What is it using as mathematics rules , formula, technique etc.? It sieves, and runs some Miller Rabin prp tests. Please see mpz/pprime_p.c for description of the "technique". -- Torbjörn