Every few years a press release announces the largest known prime — a number with tens of millions of digits that would fill a thick novel if printed. How do mathematicians actually verify something that enormous is prime?
The answer is the Lucas–Lehmer test, a deterministic algorithm custom-built for Mersenne numbers of the form . These are the only candidates large enough to routinely break records, and they possess a special arithmetic structure that makes a fast test possible.
The core idea dates to Édouard Lucas in 1878, was made rigorous by Derrick Henry Lehmer in 1930, and has been the engine of the Great Internet Mersenne Prime Search (GIMPS) since 1996. Every record prime discovered since 1952 — including the current champion — was certified by exactly this test.
The algorithm is stunning in its simplicity. Build a sequence , . After steps, if then is prime. That's it. No probabilistic hedging, no error probability — a single congruence decides the question forever.
Comments
Loading comments...