Description
Properties of GCD (Greatest Common Divisor)
-
Blueprint of Numbers: The GCD of a set of numbers can be thought of as a blueprint of those numbers. If you keep adding the GCD, you can make all numbers that belong to that set.
-
Common Divisors: Every common divisor of
and
is a divisor of
.
-
Linear Combination:
, where both
and
are non-zero, can also be defined as the smallest positive integer
which can be expressed as a linear combination of
and
in the form
-
GCD with Zero:
since any number is a divisor of 0, and the greatest divisor of
is
.
-
Scaling Property: If
is a non-negative integer, then
-
Euclidean Algorithm: The GCD can be found using the Euclidean algorithm:
-
Common Divisor Scaling: If
is a positive common divisor of
and
, then
-
Multiplicative Function: The GCD is a multiplicative function. That is, if
and
are coprime,
In particular, recalling that GCD is a positive integer-valued function, we obtain that
If the GCD is one, then they need not be coprime to distribute the GCD; moreover, each GCD individually should also be 1.
-
Commutative Property: The GCD is a commutative function:
-
Associative Property: The GCD is an associative function:
Thus,
can be used to denote the GCD of multiple arguments.
-
Relation with LCM:
is closely related to the least common multiple
: we have
-
Distributivity Versions: The following versions of distributivity hold true:
-
Prime Factorization: If we have the unique prime factorizations of
and
, where
and
, then the GCD of
and
is:
-
Cartesian Coordinate System Interpretation: In a Cartesian coordinate system,
can be interpreted as the number of segments between points with integral coordinates on the straight line segment joining the points
and
.
-
Euclidean Algorithm in Base
: For non-negative integers
and
, where
and
are not both zero, provable by considering the Euclidean algorithm in base
, it simply states that:
If you want an informal proof, think of numbers in base 2. We are calculating GCDs of numbers which contain all continuous 1s in their binary representations. For example: 001111 and 000011; their GCD can be the greatest common length, which in this case is 2. Thus, the GCD becomes 000011. Think of numbers in terms of length; maybe you get the idea.
-
Euler's Totient Function Identity: An identity involving Euler's totient function: