Abstract
We introduce a new left-shift binary algorithm, LSBGCD, for computing the greatest common divisor of two integers, and we provide an analysis of the worst-case behavior of this algorithm. The analysis depends on a theorem of Ramharter about the extremal behavior of certain continuants.
Preview
Unable to display preview. Download preview PDF.
References
R. P. Brent. Analysis of the binary Euclidean algorithm. In J. F. Traub, editor, Algorithms and Complexity: New Directions and Recent Results, pages 321–355, Academic Press, New York, 1976.
A. Dupré. Sur le nombre de divisions à effectuer pour obtenir le plus grand commun diviseur entre deux nombres entiers. J. Math. Pures Appl., 11:41–64, 1846.
G. H. Hardy and E. M. Wright. An Introduction to the Theory of Numbers. Oxford University Press, 5th edition, 1985.
D. E. Knuth. The Art of Computer Programming. Volume 2: Seminumerical Algorithms. Addison-Wesley, 1981. 2nd edition.
G. Lamé. Note sur la limite du nombre des divisions dans la recherche du plus grand commun diviseur entre deux nombres entiers. C. R. Acad. Sci. Paris, 19:867–870, 1844.
B. Nice. Extended greatest common divisors. 1993. Manuscript.
G. Ramharter. Extremal values of continuants. Proc. Amer. Math. Soc., 89:189–201, 1983.
J. O. Shallit. On the worst case of three algorithms for computing the Jacobi symbol. J. Symbolic Comput., 10:593–610, 1990.
J. O. Shallit and J. P. Sorenson. A binary algorithm for the Jacobi symbol. ACM SIGSAM Bull., 27(1):4–11, 1993.
J. P. Sorenson. Two fast GCD algorithms. J. Algorithms, 16:110–144, 1994.
J. Stein. Computational problems associated with Racah algebra. J. Comput. Phys., 1:397–405, 1967.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1994 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Shallit, J., Sorenson, J. (1994). Analysis of a left-shift binary GCD algorithm. In: Adleman, L.M., Huang, MD. (eds) Algorithmic Number Theory. ANTS 1994. Lecture Notes in Computer Science, vol 877. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58691-1_55
Download citation
DOI: https://doi.org/10.1007/3-540-58691-1_55
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-58691-3
Online ISBN: 978-3-540-49044-9
eBook Packages: Springer Book Archive