Lehmer's GCD algorithm: Difference between revisions

Content deleted Content added
Jafet (talk | contribs)
Remove incorrect citation
m Algorithm: punctuation correction
Line 2:
 
== Algorithm ==
[[Derrick Henry Lehmer|Lehmer]] noted that that most of the [[quotient]]s from each step of the division part of the standard algorithm are small. (For example, [[Donald Knuth|Knuth]] observed that the quotients 1, 2, and 3 comprise 67.7% of all quotients.)
 
Say we want to obtain the GCD of the two integers ''a'' and ''b''. Let <math>\textstyle a \ge b</math>.