
The following algorithm is given for finding the GCD \((u,v)\) where \(u > v > 0\). Let \(e\) be such that \(2^ ev \leq u < 2^{e+1}v\), and let \(t = \min (u - 2^ ev, 2^{e+1} v - u)\). Then replace \(u,v\) by \(v,t\), interchanging and repeating as necessary. Let \(x_ n, y_ n\) be the lexicographically least pair that requires \(n\) iterations: \(x_ n\) and \(y_ n\) are determined explicitly. Some comparisons of a) run time, and b) number of iterations were made for inputs of length 100, 250, 500, and 1000 decimal digits, with 100 pseudo-random numbers used for each length, and with various algorithms. On average the new algorithm was not the best for either a) or b), but it is stated that for extended computation it has been found to be the fastest.
Computational Mathematics, Algebra and Number Theory, Theory and Algorithms, binary GCD algorithm, Analysis of algorithms and problem complexity, Number Theory, Multiplicative structure; Euclidean algorithm; greatest common divisors, complexity, Number-theoretic algorithms; complexity
Computational Mathematics, Algebra and Number Theory, Theory and Algorithms, binary GCD algorithm, Analysis of algorithms and problem complexity, Number Theory, Multiplicative structure; Euclidean algorithm; greatest common divisors, complexity, Number-theoretic algorithms; complexity
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 5 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Top 10% | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
