Library Web

How does the Miller-Rabin primality test work?

The Miller-Rabin primality test is a fast probabilistic algorithm used to determine if a number is likely to be prime. Unlike tests that directly prove a number is prime, the Miller-Rabin test proves that a number is composite, making it a compositeness test in practice. It was originally developed by Gary L. Miller as a deterministic test relying on the extended Riemann hypothesis, and later modified by Michael O. Rabin into an unconditional probabilistic algorithm.

What we know

Where to go next

Sources

Your path

  1. What major earthquakes occurred in 2026?
  2. What is the Waxman-Bahcall bound?
  3. How did slavery function in the Rashidun Caliphate?
  4. What defined the art and history of Byzantine mosaics?
  5. What is a DC-to-DC converter?
  6. What arguments did G. E. Moore make in Principia Ethica?
  7. What is included in Nels Cline's discography?
  8. How does the Miller-Rabin primality test work?