Skip to main content

Greatest Common Divisor

  • Reference work entry
Encyclopedia of Cryptography and Security
  • 176 Accesses

Synonyms

GCD; Greatest common factor

Related Concepts

Euclidean Algorithm; Least Common Multiple; Number Theory; Relatively Prime

Definition

The greatest common divisor (gcd) of a set of positive integers \(\{{a}_{1},\ldots,{a}_{k}\}\) is the largest integer that divides every element of the set. This is denoted \(\gcd ({a}_{1},\ldots,{a}_{k})\) or sometimes just \(({a}_{1},\ldots,{a}_{k})\).

Background

Approximately in 300 BC, the Greek mathematician Euclid described a method for computing the greatest common divisor in Book 7 of Elements. Known as the Euclidean algorithm, it is based upon the fact that the greatest common divisor of two integers is preserved under subtraction.

Theory

An important property of the greatest common divisor is that it can always be written as an integer linear combination of the elements of the set. In other words, there exist integers \({x}_{1},\ldots,{x}_{k}\) such that \({\sum \nolimits }_{i=1}^{k}{a}_{i} \cdot {x}_{i} =\gcd ({a}_{1},\ldots,{a}_{k})\).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 799.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 949.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer Science+Business Media, LLC

About this entry

Cite this entry

Contini, S. (2011). Greatest Common Divisor. 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_453

Download citation

Publish with us

Policies and ethics