is a special-purpose Integer Factorization Algorithm . It was invented by John Pollard in 1975 . It is particularly effective at splitting composite numbers with small factors.
|
|   |
"http://wwwinformationdelightinfo/encyclopedia/entry/greatest_common_divisor" class="copylinks">GCD of ''x'' &minus ''y'' and ''n'' is taken at each step If this GCD ever comes to ''n'', then the algorithm terminates with failure, since this means ''x'' = ''y'' and therefore, by Floyd's cycle-finding algorithm, the sequence has cycled and continuing any further would only be repeating previous work
|
|   |
30>''i''</td><td width=60>''x''<sub>''i''</sub></td><td width=60>''y''<sub>''i''</sub></td><td>GCD(''x''<sub>''i''</sub> &minus ''y''<sub>''i''</sub>, 8051)</td></tr>
|
97 is a non-trivial factor of 8051. Other values of ''c'' may give the cofactor (83) of 97 instead of 97.
- Richard P. Brent . ''An Improved Monte Carlo Factorization Algorithm'', BIT 20, 1980, pp.176-184, http://web.comlab.ox.ac.uk/oucl/work/richard.brent/pd/rpb051i.pdf
- Thomas H. Cormen , Charles E. Leiserson , Ronald L. Rivest , and Clifford Stein . '' Introduction To Algorithms '', Second Edition. MIT Press and McGraw-Hill, 2001. ISBN 0262032937. Section 31.9: Integer factorization, pp.896–901 (this section discusses only Pollard's rho algorithm).