4 ms·
Any probabilistic primality test will work, but GIMPS currently uses the first-time Fermat probable prime test with a very robust certificate [1] to filter almo
by lifthrasiir 2y ago
Any probabilistic primality test will work, but GIMPS currently uses the first-time Fermat probable prime test with a very robust certificate [1] to filter almost all non-primes in advance.
[1] https://www.mersenne.org/various/math.php#prp https://www.mersenne.org/various/math.php#prp