Solovay–Strassen primality test
A randomized test for primality that compares a modular exponentiation with a Jacobi symbol. A failed comparison proves a number composite; repeated passes give a bounded probability of error.
A randomized test for primality that compares a modular exponentiation with a Jacobi symbol. A failed comparison proves a number composite; repeated passes give a bounded probability of error.