Abstract
We study the problem of acceleration of GCD algorithms for natural numbers based on the approximating k-ary algorithm. We suggest a new scheme of the approximating algorithm implementation ensuring the value of the reduction coefficient ρ = Ai/Bi equal or exceeding k where k is a regulated parameter of computation not exceeding the size of a computer word. This approach ensures a significant advantage of our algorithm against the classical Euclidean algorithm.
Similar content being viewed by others
References
Latypov, R., Stolov, E., Ishmukhametov, S., Vlasov, I., Galiev, A., Prokopyev, N. “ARCHAIN: A Novel Blockchain Based Archival System” (in: Proc. of 2nd World Conf. on Smart Trends in Systems. Security and Sustainability, London, UK, October 2018).
Sorenson, J. “The k-ary GCD Algorithm” (in: Tech. Report, pp. 1–20 (Univ. Wisconsin-Madison, Madison, 1990)).
Sorrenson, J. “Two Fast GCD Algorithms”, J. Alg. 16 (1), 110–144 (1994).
Weber, K. “The Accelerated Integer GCD Algorithm”, ACM Trans. Math. Software 21 (1), 1–12 (1995).
Jebelean, T. “A Generalization of the Binary GCD Algorithm” (in: Proc. of Intern. Symp. on Symb. and Algebr. Comp. (ISSAC’93), pp. 111–116 (1993)).
Ishmukhametov, Sh. T., Mubarakov, B.G., Al’-Anni Maad Kamal’. “Calculating Bezout Coefficients for a k-ary GCD Algorithm”, Russian Math. (Iz. VUZ) 61 (11), 26–33 (2017).
Ishmukhametov, S.T., Rubtsova, R.G. “A fast algorithm for counting GCD of natural numbers” (in: Proc. of intern. conf. Algebra, Anal. and Geometry, Kazan, KFU (2016)).
Ishmukhametov, S.T. “An approximating k-ary GCD Algorithm”, Lobachevskii J. Math. 37 (6), 722–728 (2016).
Funding
This work was carried out as part of the development program of the Scientific and Educational Mathematical Center of the Volga Federal District, agreement no. 075-02-2020-1478.
Author information
Authors and Affiliations
Corresponding authors
Additional information
Russian Text © The Author(s), 2020, published in Izvestiya Vysshikh Uchebnykh Zavedenii. Matematika, 2020, No. 6, pp. 3–8.
About this article
Cite this article
Al Halidi, A.M., Ishmukhametov, S.T. An Effective Programming of GCD Algorithms for Natural Numbers. Russ Math. 64, 1–5 (2020). https://doi.org/10.3103/S1066369X20060018
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.3103/S1066369X20060018