70

Improvements on the accelerated integer GCD algorithm

Information Processing Letters (IPL), 1997
Abstract

The present paper analyses and presents several improvements to the algorithm for finding the (a,b)(a,b)-pairs of integers used in the kk-ary reduction of the right-shift kk-ary integer GCD algorithm. While the worst-case complexity of Weber's "Accelerated integer GCD algorithm" is \cO\l(logϕ(k)2)˚\cO\l(\log_\phi(k)^2\r), we show that the worst-case number of iterations of the while loop is exactly 12\llogϕ(k)˚\tfrac 12 \l\lfloor \log_{\phi}(k)\r\rfloor, where ϕ:=12\l(1+5)˚\phi := \tfrac 12 \l(1+\sqrt{5}\r).\par We suggest improvements on the average complexity of the latter algorithm and also present two new faster residual algorithms: the sequential and the parallel one. A lower bound on the probability of avoiding the while loop in our parallel residual algorithm is also given.

View on arXiv
Comments on this paper