Ripetizioni di Analisi
EN

Definition · Numbers and operations

Divisors, greatest common divisor, and least common multiple

Definition from the chapter Natural numbers, integers and rational numbers of Mathematics, 1st year, with the exercises in which it is used.

Divisors, greatest common divisor, and least common multiple

In this block the numbers are positive integers. The number is a divisor of when for some integer , that is, when is an integer. We also say that is a multiple of . For example, is a divisor of because .

  • The greatest common divisor , abbreviated GCD, is the greatest of the common positive divisors.
  • The least common multiple , abbreviated LCM, is the least of the common positive multiples.

For and , the common divisors are , so . The multiples of are and those of are , so .

If the greatest common divisor is , the two numbers are coprime, or relatively prime. For example, and are coprime, because the divisors of are and those of are . They are coprime even though each has proper divisors, that is, divisors different from and from the number itself.

A prime number is an integer greater than whose only divisors are and itself, such as . Every integer greater than can be written as a product of prime numbers, and this way of writing it is its prime factorisation. For , the number is divided by the smallest prime as long as the division gives an integer, and then by the next prime.

In the same way, . The GCD and the LCM are read from the factorisations.

  • A common divisor takes each prime only up to the smaller exponent, because it must divide both numbers. The GCD is therefore the product of the common primes with the smaller exponent.
  • A common multiple contains each prime at least to the larger exponent, because it must be divisible by both numbers. The LCM is therefore the product of all the primes that occur with the larger exponent.

For and this gives

The quotients and are coprime, because dividing by the GCD removes the whole common factor.

Read it in the chapter Natural numbers, integers and rational numbers →

Exercises where this definition is used

Worked examples

Practice exercises

All the definitions and theorems of Mathematics, 1st year → · All the theorems on the site →

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents