Chapter 7 of 20 · 5 min · 14 પ્રશ્નો

Chapter video5:07
Take quiz →

Highest common factor: the biggest number that divides them all

The highest common factor (HCF) of two or more numbers is the biggest number that divides every one of them exactly. Take 12 and 18. The factors of 12 are 1, 2, 3, 4, 6 and 12. The factors of 18 are 1, 2, 3, 6, 9 and 18. The common ones are 1, 2, 3 and 6, so the HCF is 6.

Listing factors is too slow for bigger numbers.

Spot the question first

UPSC does not always write "find the HCF". Often the idea is hidden in words. A question is asking for the HCF when two things are true together:

  • the answer must divide all the given quantities exactly, and
  • it must be the greatest, largest or maximum such value.

Typical forms: the greatest length that measures two lengths exactly, the largest square tile that covers a floor without cutting, the largest equal group for two sets of people.

Method 1: prime factors

Break each number into primes. Keep only the primes that appear in every number, each with its smallest power.

  • 36 = 2² × 3²
  • 60 = 2² × 3 × 5

2² is in both. 3 appears as 3² in one and 3 in the other, so take 3. 5 is only in 60, so leave it out. HCF = 2² × 3 = 12.

For three numbers the rule is the same. Add 90 = 2 × 3² × 5. Now the smallest power of 2 is a single 2, the smallest power of 3 is a single 3, and 5 is missing from 36. HCF of 36, 60 and 90 = 2 × 3 = 6.

Method 2: the difference

Some numbers, such as 91 and 117, do not break up at a glance. Use this fact: a number that divides two numbers also divides their difference. So the HCF is one of the factors of the difference.

117 − 91 = 26. The factors of 26 are 26, 13, 2 and 1. Test from the biggest down.

  • 26: 91 is odd, so 26 cannot divide it.
  • 13: 91 = 13 × 7 and 117 = 13 × 9. Both divide.

HCF = 13.

Method 3: repeated remainders

If the difference is still large, divide instead: the HCF divides the remainder too. Take 221 and 323.

  • 323 ÷ 221 leaves remainder 102.
  • 221 ÷ 102 leaves remainder 17 (because 2 × 102 = 204).
  • 102 ÷ 17 leaves remainder 0 (because 17 × 6 = 102).

Each time, divide the last divisor by the last remainder. The divisor that leaves no remainder is the HCF. Here it is 17.

Fractions and decimals

Bring the quantities to the same unit. Then it is an ordinary HCF.

A real question (UPSC CSAT 2020): what is the greatest length x such that 3 1/2 m and 8 3/4 m are integral multiples of x? Count both in quarters of a metre: 14/4 and 35/4. The HCF of 14 and 35 is 7. So x = 7/4 m = 1 3/4 m. Check: 3 1/2 m is 2 times x and 8 3/4 m is 5 times x.

Decimals work the same way. For 1.2 m and 1.8 m, count in tenths: 12 and 18. Their HCF is 6, so the answer is 6 tenths, or 0.6 m. For 7.5 and 3.25, count both in hundredths: 750 and 325. Their HCF is 25, so the answer is 0.25.

Summary

SituationWhat to doExample
Numbers that break up easilyCommon primes, smallest power36 and 60 → 2² × 3 = 12
Three numbersPrime must be in all three36, 60, 90 → 2 × 3 = 6
Awkward numbersTest the factors of the difference91 and 117 → gap 26 → 13
Gap still largeDivide, keep taking remainders221 and 323 → 102 → 17
FractionsSame denominator first14/4 and 35/4 → 7/4
DecimalsCount in tenths or hundredths1.2 and 1.8 → 0.6

Where students slip

  • Taking the difference as the answer. The HCF is a factor of the difference. It is the difference itself only when the difference divides both numbers. For 91 and 117 the gap is 26, but the HCF is 13.
  • Taking the bigger power. The HCF takes the smaller power of each common prime.
  • Keeping a prime that is not common. If a prime is missing from even one number, it is not in the HCF.
  • Mixing units. 3 1/2 and 8 3/4 must both be in quarters before you compare 14 and 35.
  • Not checking. Divide each number by your answer.

How to practise

Pick two numbers under 300, find the HCF by the difference method, and check it by prime factors. Do five pairs a day. Add one set of three numbers, and one pair of fractions or decimals. With every word problem, first ask: must the answer divide everything exactly, and is the largest such value wanted? If yes, it is an HCF.

તમારું વાંચન સાચવો અને રાત્રે 9 વાગ્યાની અખિલ ભારતીય ટેસ્ટ આપો.

સાઇન અપ કરો