For an odd integer and a unit modulo , the base is an Euler witness whenIt therefore certifies that is composite.
If one Euler witness exists modulo , multiplication by injects the set of nonwitnesses into the set of witnesses. Indeed, the product of with a nonwitness cannot be another nonwitness, because cancellation and multiplicativity of the Jacobi symbol would make a nonwitness. Thus at least half of the units modulo are Euler witnesses.
Every odd composite integer has an Euler witness. For a nonsquarefree integer, a base congruent to modulo a repeated prime factor fails the Euler congruence by the binomial theorem. For a squarefree integer, use the Chinese remainder theorem to choose a base that is a quadratic nonresidue modulo one prime factor and modulo another. Its Jacobi symbol is , while its power is modulo the second factor.
The Solovay-Strassen primality test samples unit bases and rejects an odd candidate as composite when it finds an Euler witness. Every prime passes every base by Euler's criterion, while an odd composite passes a random base with probability at most one half.
Articles by others on the same topic
There are currently no matching articles.