Lehmer's GCD algorithm: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
Line 1:
{{short description|Fast greatest common divisor algorithm}}
'''LehmersLehmer's GCD algorithm''', named after [[Derrick Henry Lehmer]], is a fast [[greatest common divisor|GCD]] [[algorithm]], an improvement on the simpler but slower [[Euclidean algorithm]]. It is mainly used for big integers that have a representation as a string of digits relative to some chosen numeral system [[radix|base]], say ''&beta;'' = 1000 or ''&beta;'' = 2<sup>32</sup>.
 
== Algorithm ==