Skip to content

Least Common Multiples

Let $a$ and $b$ be nonzero integers. An integer $m$ is called a common multiple of $a$ and $b$ if

Common Multiples

Let aa and bb be nonzero integers. An integer mm is called a common multiple of aa and bb if

am a\mid m

and

bm. b\mid m.

For example, the positive multiples of 66 are

6,12,18,24,30,36, 6,12,18,24,30,36,\ldots

and the positive multiples of 88 are

8,16,24,32,40,48, 8,16,24,32,40,48,\ldots

Their positive common multiples begin with

24,48,72, 24,48,72,\ldots

The smallest positive common multiple is 2424. Hence

lcm(6,8)=24. \operatorname{lcm}(6,8)=24.

Definition

The least common multiple of two nonzero integers aa and bb is the smallest positive integer mm such that

am a\mid m

and

bm. b\mid m.

It is denoted by

lcm(a,b). \operatorname{lcm}(a,b).

As with greatest common divisors, signs are ignored:

lcm(a,b)=lcm(a,b). \operatorname{lcm}(a,b)=\operatorname{lcm}(|a|,|b|).

For example,

lcm(12,18)=36. \operatorname{lcm}(-12,18)=36.

The least common multiple is always positive.

Existence

The least common multiple always exists for nonzero integers.

Indeed,

ab |ab|

is a positive common multiple of aa and bb, since both aa and bb divide abab. Therefore the set of positive common multiples is nonempty.

By the well-ordering principle, every nonempty subset of N\mathbb{N} has a least element. Hence the least common multiple exists.

Basic Examples

If one integer divides the other, the least common multiple is the larger absolute value. For example,

lcm(5,20)=20. \operatorname{lcm}(5,20)=20.

If two integers are coprime, then their least common multiple is their product:

gcd(a,b)=1lcm(a,b)=ab. \gcd(a,b)=1 \quad\Longrightarrow\quad \operatorname{lcm}(a,b)=|ab|.

For instance,

lcm(7,9)=63. \operatorname{lcm}(7,9)=63.

Although 99 is composite, it shares no prime factor with 77, so the product is already the smallest common multiple.

Prime Factorization View

Prime factorization gives a direct way to compute least common multiples.

Suppose

72=2332 72=2^3\cdot3^2

and

120=2335. 120=2^3\cdot3\cdot5.

The least common multiple must contain enough prime powers to be divisible by both numbers. Therefore it uses the larger exponent of each prime appearing in either factorization:

lcm(72,120)=23325=360. \operatorname{lcm}(72,120) = 2^3\cdot3^2\cdot5 = 360.

In general, the least common multiple contains each prime appearing in either integer, with the larger exponent chosen.

This complements the greatest common divisor, which uses the smaller exponent.

Relation with the Greatest Common Divisor

For nonzero integers aa and bb, the greatest common divisor and least common multiple satisfy

gcd(a,b)lcm(a,b)=ab. \gcd(a,b)\operatorname{lcm}(a,b)=|ab|.

Equivalently,

lcm(a,b)=abgcd(a,b). \operatorname{lcm}(a,b)=\frac{|ab|}{\gcd(a,b)}.

For example,

gcd(72,120)=24. \gcd(72,120)=24.

Hence

lcm(72,120)=7212024=360. \operatorname{lcm}(72,120) = \frac{72\cdot120}{24} = 360.

This formula is often the most efficient way to compute an lcm once the gcd is known.

Divisibility Characterization

The least common multiple has a universal divisibility property.

If

m=lcm(a,b), m=\operatorname{lcm}(a,b),

then every common multiple of aa and bb is divisible by mm.

That is, if

an a\mid n

and

bn, b\mid n,

then

mn. m\mid n.

For example, since

lcm(6,8)=24, \operatorname{lcm}(6,8)=24,

every integer divisible by both 66 and 88 is divisible by 2424.

This property explains why the least common multiple is not merely the smallest common multiple. It is the fundamental generator of all common multiples.

LCM of Several Integers

The least common multiple extends naturally to more than two integers.

For nonzero integers

a1,a2,,ak, a_1,a_2,\ldots,a_k,

the number

lcm(a1,a2,,ak) \operatorname{lcm}(a_1,a_2,\ldots,a_k)

is the smallest positive integer divisible by each aia_i.

For example,

lcm(4,6,10)=60. \operatorname{lcm}(4,6,10)=60.

One may compute it iteratively:

lcm(a,b,c)=lcm(lcm(a,b),c). \operatorname{lcm}(a,b,c) = \operatorname{lcm}(\operatorname{lcm}(a,b),c).

This follows from the divisibility characterization of the least common multiple.

Common Denominators

Least common multiples arise naturally when adding fractions.

To add

16+18, \frac{1}{6}+\frac{1}{8},

one chooses a common denominator divisible by both 66 and 88. The least such positive denominator is

lcm(6,8)=24. \operatorname{lcm}(6,8)=24.

Thus

16+18=424+324=724. \frac{1}{6}+\frac{1}{8} = \frac{4}{24}+\frac{3}{24} = \frac{7}{24}.

The lcm gives the smallest common denominator and keeps arithmetic as simple as possible.

Role in Number Theory

Least common multiples measure shared periodicity. If one process repeats every aa steps and another repeats every bb steps, then both repeat together every

lcm(a,b) \operatorname{lcm}(a,b)

steps.

This makes the lcm important in modular arithmetic, congruence systems, cyclic groups, and periodic sequences.

Together, gcd and lcm express two complementary aspects of divisibility. The greatest common divisor measures common factors. The least common multiple measures common multiples. Both are essential tools for organizing the arithmetic structure of the integers.