In 1975 the mathematician John Pollard published a single page of mathematics that changed how we think about breaking numbers apart. He described a way to find a prime factor of a large integer — not by testing divisors one by one, but by taking a random walk through residues and waiting for a coincidence.
The algorithm is called Pollard's rho because if you draw its sequence of residues as a directed graph the shape that emerges looks like the Greek letter ρ: a tail leading into a loop.
The key idea is the birthday paradox. If you pick numbers at random modulo a prime p, you only need about √p choices before two of them collide. That collision — two different positions in your walk landing on the same residue — hands you a factor of n through a single GCD computation.
Because every composite number has a prime factor p ≤ √n, the walk collides after roughly O() steps. That sounds abstract, but for a 20-digit number trial division would need millions of steps while Pollard's rho needs only thousands.
Today integer factoring has no known polynomial-time classical algorithm. It is widely believed to be hard — the hardness assumption behind RSA encryption. Pollard's rho does not break that belief; it just shows how clever sub-exponential tricks can push the frontier surprisingly far.
Comments
Loading comments...