An extended Jebelean--Weber--Sedjelmaci GCD algorithm
Čebyševskij sbornik, Tome 19 (2018) no. 2, pp. 421-431

Voir la notice de l'article provenant de la source Math-Net.Ru

There are large number of different algorithms for gcd computation. First of all, it is the Shonhage type gcd algorithms. They are used for very large numbers and have the best asymptotic complexity in the worst case — $ O (n \log ^ 2 (n) \log (\log (n))) $. For lesser numbers, generalized binary algorithms are used. They are based on the $ k $ -ary reduction: $ \alpha \gcd (u, v) = \gcd (v, \frac{| au \pm bv |} {k}) $, integers $ u> v> 0 $, $ \gcd (u, k) = \gcd (v, k) = 1 $, $ \alpha \geqslant 1 $. We use $+$ or $-$ depending on the type of gcd algorithm. The main task is to select the coefficients $ a, b $ such that $ au + bv = 0 \bmod k $. The number $ k $ is usually chosen as a prime number or a power of a prime number. Unfortunately, spirious factors can accumulate during the computation, so $ \alpha \geqslant 1 $. If $ k = 2 ^ s $, then we obtain generalized binary algorithms. It's five times faster than the binary gcd algorithm. Sedjelmaci modified the Jebelean-Weber's algorithm, he removed spirious factors. Asymptotic complexity of the algorithm in the worst case is $ O (n ^ 2 / \log (n)) $. Bezout Coefficients is a representation of gcd $ d $ of the numbers $ A, B $ of a linear combination $ Ax + By = d $, where $ x $ and $ y $ are integer numbers, called Bezout coefficients. In this paper we introduce the extended Jebelean–Weber–Sedjelmaci algorithm of two natural numbers, formulas and give examples that showing how to calculate inverse elements.
Keywords: GCD, Euclidean gcd, binary gcd, k-ary gcd, Schönhage gcd, Weber gcd, Lehmer gcd.
@article{CHEB_2018_19_2_a29,
     author = {D. A. Dolgov},
     title = {An extended {Jebelean--Weber--Sedjelmaci} {GCD} algorithm},
     journal = {\v{C}eby\v{s}evskij sbornik},
     pages = {421--431},
     publisher = {mathdoc},
     volume = {19},
     number = {2},
     year = {2018},
     language = {ru},
     url = {http://geodesic.mathdoc.fr/item/CHEB_2018_19_2_a29/}
}
TY  - JOUR
AU  - D. A. Dolgov
TI  - An extended Jebelean--Weber--Sedjelmaci GCD algorithm
JO  - Čebyševskij sbornik
PY  - 2018
SP  - 421
EP  - 431
VL  - 19
IS  - 2
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CHEB_2018_19_2_a29/
LA  - ru
ID  - CHEB_2018_19_2_a29
ER  - 
%0 Journal Article
%A D. A. Dolgov
%T An extended Jebelean--Weber--Sedjelmaci GCD algorithm
%J Čebyševskij sbornik
%D 2018
%P 421-431
%V 19
%N 2
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CHEB_2018_19_2_a29/
%G ru
%F CHEB_2018_19_2_a29
D. A. Dolgov. An extended Jebelean--Weber--Sedjelmaci GCD algorithm. Čebyševskij sbornik, Tome 19 (2018) no. 2, pp. 421-431. http://geodesic.mathdoc.fr/item/CHEB_2018_19_2_a29/