Pollard Rho Integer Factorization
Turn collisions modulo unknown factors into a bounded integer-factor search.
Free theory articleTurn collisions modulo unknown factors into a bounded integer-factor search.
Concept & interpretation
The Pollard Rho algorithm turns collisions modulo an unknown factor of a composite integer n into a bounded integer-factor search. It applies Floyd's cycle-finding algorithm to a pseudo-random sequence defined by f(x) = (x*x + c) mod n.
Interactive Demonstration
Open the Pollard Rho Integer Factorization interactive experiment. You can use the Integer n, Polynomial constant, Seed, and Step limit controls to observe the algorithm behavior.
- Select Integer n as
8051, Polynomial constant as1, and Seed as2. - Set the Step limit to
16. - Observe that the Iterations performed is
3, and the Factor found is97with a Cofactor of83. - The explanatory curve shows the Floyd walk along the nodes. Modifying the seed changes the path taken, but may still converge to the same factor.