Fastest algorithm for primality test [closed]

One good method is the Miller-Rabin test. It should be noted however, that this is only a probabilistic test.

Leave a Comment