chalk

Highest common factor and lowest common multiple

You will find the biggest number that divides two numbers, and the first number they both count up to. That solves two kinds of problem: cutting things into equal pieces, and finding when two repeating events meet again.

Core idea

Highest common factor

Take 12 and 18. The numbers that divide 12 exactly are 1, 2, 3, 4, 6 and 12. The numbers that divide 18 exactly are 1, 2, 3, 6, 9 and 18.

Both lists hold 1, 2, 3 and 6. The biggest of these is 6, so 6 is the highest common factor (HCF) of 12 and 18.

Lowest common multiple

Now count up in 12s: 12, 24, 36, 48 and so on. Count up in 18s: 18, 36, 54 and so on.

The first number in both lists is 36. It is the lowest common multiple (LCM) of 12 and 18.

Bigger numbers

Listing gets slow once the numbers are big. A faster way is to break each number into primes. 12 is and 18 is .

For the HCF, keep only the primes both numbers have. Here that is one 2 and one 3, and is 6.

For the LCM, keep enough primes to build both numbers. Here that is two 2s and two 3s, and is 36.

With bigger primes the same idea has a name. For the HCF, take each shared prime at the lowest power it has. For the LCM, take every prime at the highest power it has.

Most people mix the two up. The HCF is never bigger than the smaller number. The LCM is never smaller than the larger one, so a swapped answer is easy to catch.

Worked example

Find the HCF and the LCM of and .

Write each number as a product of primes:

the first number
the second number

For the HCF, take each shared prime at its lowest power:

lowest power of each prime

For the LCM, take each prime at its highest power:

highest power of each prime

So the HCF is and the LCM is .

Problems

1Basics

Two ribbons are cm and cm long. You cut both into pieces of one length, with nothing left over. The pieces are as long as they can be. How long is each piece?

Hint

List the numbers that divide each length, then pick the biggest one in both lists.

Sign in to see the solution
2Basics

Two lights flash together at the start. The first flashes every seconds and the second every seconds. After how many seconds do they flash together again?

Hint

Count up in each light's seconds until you reach a time in both lists.

Sign in to see the solution
3Easy

Find the HCF of and .

Hint

Take each prime both numbers share, at its lowest power.

Sign in to see the solution
4Easy

Find the LCM of and .

Hint

Take each prime that appears in either number, at its highest power.

Sign in to see the solution

What's next