Michael O. Rabin 2026-11-05
Michael O. Rabin analyzed a randomized algorithm for primality testing in his 1980 paper. The Miller-Rabin primality test checks whether a candidate integer satisfies conditions obeyed by primes under modular exponentiation. A failed check certifies compositeness; passing a check gives a probable prime, not a proof of primality.[ref]
For each fixed odd composite candidate, at most one quarter of the admissible bases are strong liars. Independent uniformly chosen bases therefore reduce the probability of accepting that composite to at most after rounds. This probability is over the test's choices for a fixed input; it is not a posterior probability that an arbitrary accepted integer is prime.
Strong liar 2026-11-05
A strong liar for an odd composite integer is a base for which the Miller-Rabin primality test reports a pass. Write with odd. A base is a strong liar whenThe base “lies” because these conditions hold for every allowed nonzero base when is prime, but can also hold for a composite.
For , base 2 is a strong liar because and divides . For every odd composite, strong liars occupy at most a quarter of the standard base sampling space; independently sampling bases bounds all-pass error by . A fixed handpicked list needs a separate guarantee for the intended input range.[ref]
Probabilistic Algorithm for Testing Primality by Michael O. Rabin. §§1–2, strong-pseudoprime condition and quarter bound