In some questions the highest common factor (HCF) or lowest common multiple (LCM) of two large numbers may need to be found.

It would take a long time to write out all the factors and multiples of 24 and 180 and compare the lists and it would be easy to make a mistake.

A more efficient method is to use **prime factors**.

Numbers can be broken down into prime factors using prime factor trees. When the prime factors of two numbers are known, they can be compared to calculate HCFs and LCMs. This can be a more efficient method than listing the factors and multiples of large numbers.

Find the highest common factor and lowest common multiple of 24 and 180.

Start by listing the prime factors of 24 and 180.

The product of prime factors for 24 is:

The product of prime factors for 180 is:

To find the HCF, find any prime factors that are in **common** between the lists. Each list contains two 2s and one 3, so use these for the HCF.

HCF =

Cross any numbers used so far off the lists.

The product of prime factors for 24 is:

The product of prime factors for 180 is:

To find the LCM, multiply the HCF by all the numbers in the lists that have not yet been used.

LCM =