Synonyms
Related Concepts
Definition
The binary euclidean algorithm is a technique for computing the greatest common divisor and the euclidean coefficients of two nonnegative integers.
Background
The principles behind this algorithm were first published by R. Silver and J. Tersian, and independently by J. Stein [1]. Knuth claims [2] that the same algorithm may have been known in ancient China based on it’s appearance in verbal form in the first century A.D. text Nine Chapters on Arithmetic by Chiu Chang Suan Shu.
Theory
The binary GCD algorithm is based on the following observations on two arbitrary positive integers u and v:
- –
If u and v are both even, then \(\gcd (u,v) = 2\gcd (u/2,v/2)\);
- –
If u is even and v is odd, then \(\gcd (u,v) =\gcd (u/2,v)\);
- –
Otherwise both are odd, and \(\gcd (u,v) =\gcd (\vert u - v\vert /2,v)\).
The three conditions cover all possible cases for u and v. The Binary...
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsRecommended Reading
Stein J (1967) Computational problems associated with racah algebra. J Comput Phys 1:397–405
Knuth DE (1997) The art of computer programming, vol 2: Seminumerical algorithms, 3rd edn. Addison-Wesley Longman Publishing Co., Inc., Reading, Massachusetts
Menezes AJ, van Oorschot PC, Vanstone SA (1997) Handbook of applied cryptography. CRC Press, Boca Raton, Florida
Brent RP (1976) Analysis of the binary Euclidean algorithm. In: Traub JF (ed) Algorithms and complexity. Academic Press, New York, pp 321–355
Bach E, Shallit, J (1996) Algorithmic number theory, vol I: Efficient algorithms. MIT Press, Cambridge, Massachusetts
Jebelean T (1993) Comparing several GCD algorithms. In: 11th IEEE Symposium on computer arithmetic, Windsor, Ontario, Canada
Jebelean T (1993) A generalization of the binary gcd algorithm. In: Proceedings of the 1993 international symposium on symbolic and algebraic computation, ACM Press, Kiev, Ukraine, pp 111–116
Lehmer, DH (1938) Euclid’s algorithm for large numbers. Am Math Mon 45:227–233
Sorenson J (1994) Two fast GCD algorithms. J Algorithms 16(1):110–144
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer Science+Business Media, LLC
About this entry
Cite this entry
Sunar, B. (2011). Binary Euclidean Algorithm. In: van Tilborg, H.C.A., Jajodia, S. (eds) Encyclopedia of Cryptography and Security. Springer, Boston, MA. https://doi.org/10.1007/978-1-4419-5906-5_25
Download citation
DOI: https://doi.org/10.1007/978-1-4419-5906-5_25
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4419-5905-8
Online ISBN: 978-1-4419-5906-5
eBook Packages: Computer ScienceReference Module Computer Science and Engineering