NIMCET, GATE, CUET & CBSE test series are live — start practicing free
syllabuzAI

HCF of Three Numbers by Euclid's Algorithm | Class 10

Learn how to find the HCF of three numbers using Euclid's algorithm, check it by prime factorisation, and write the HCF of two numbers as ax + by, with solved Class 10 examples.

5 min read

S2

scholar 247

Updated 24 October 2026

On this page

Quick answer: To find the HCF of three numbers with Euclid's algorithm, find the HCF of two of them first, then find the HCF of that result and the third number: HCF(a,b,c)=HCF(HCF(a,b),c)\text{HCF}(a, b, c) = \text{HCF}(\text{HCF}(a, b), c). For example, HCF(441,567,693)=63\text{HCF}(441, 567, 693) = 63. The HCF of two numbers can also be written as ax+byax + by for some integers xx and yy; for example, HCF(56,72)=8=56(4)+72(−3)\text{HCF}(56, 72) = 8 = 56(4) + 72(-3).

Euclid's division algorithm finds the HCF of two positive integers by repeated division: divide, take the remainder, and divide again until the remainder is 00. The last non-zero remainder (the last divisor) is the HCF.

This guide extends the method in two ways: finding the HCF of three numbers, and writing the HCF as a combination of the two numbers, ax+byax + by.

Syllabus note: Euclid's division algorithm has been removed from the current rationalised NCERT Class 10 textbook (Chapter 1, Real Numbers), which now finds HCF using prime factorisation. This guide shows both methods for the three-number problem. Euclid's algorithm is still useful for older papers, NCERT Exemplar and competitive exams.


What You Will Learn

  • A quick review of Euclid's division lemma, a=bq+ra = bq + r with 0≤r<b0 \le r < b
  • How to find the HCF of three numbers in two stages
  • A check using prime factorisation
  • How to write the HCF as ax+byax + by by working backwards
  • Two fully solved examples

1. HCF of Three Numbers

Rule: HCF(a,b,c)=HCF(HCF(a,b),c)\text{HCF}(a, b, c) = \text{HCF}(\text{HCF}(a, b), c)

Step 1: Find d=HCF(a,b)d = \text{HCF}(a, b) using Euclid's algorithm.

Step 2: Find HCF(d,c)\text{HCF}(d, c). This is the HCF of all three numbers.


2. Example 1: HCF of 441, 567 and 693

Step 1: HCF of 441 and 567

567=441×1+126567 = 441 \times 1 + 126

441=126×3+63441 = 126 \times 3 + 63

126=63×2+0126 = 63 \times 2 + 0

The remainder is now 00, so HCF(441,567)=63\text{HCF}(441, 567) = 63.

Step 2: HCF of 63 and 693

693=63×11+0693 = 63 \times 11 + 0

The remainder is 00, so HCF(63,693)=63\text{HCF}(63, 693) = 63.

Answer: HCF(441,567,693)=63\text{HCF}(441, 567, 693) = 63.

Check Using Prime Factorisation

NumberPrime factorisation
44132×723^2 \times 7^2
56734×73^4 \times 7
69332×7×113^2 \times 7 \times 11

The common prime factors with their smallest powers are 323^2 and 77, so the HCF is 32×7=633^2 \times 7 = 63. ✓


3. Writing the HCF as ax + by

If dd is the HCF of aa and bb, then there are integers xx and yy (one of them may be negative) such that:

d=ax+byd = ax + by

Method:

Step 1: Use Euclid's algorithm to find the HCF.

Step 2: Start from the step where the HCF appears as the remainder, and write the HCF in terms of the other numbers.

Step 3: Work backwards, replacing each remainder using the earlier steps, until only aa and bb are left.


4. Example 2: Write HCF(56, 72) as 56x + 72y

Step 1: Euclid's algorithm

72=56×1+16...(1)72 = 56 \times 1 + 16 \qquad \text{...(1)}

56=16×3+8...(2)56 = 16 \times 3 + 8 \qquad \text{...(2)}

16=8×2+016 = 8 \times 2 + 0

So HCF(56,72)=8\text{HCF}(56, 72) = 8.

Step 2: Work backwards

From (2):

8=56−16×38 = 56 - 16 \times 3

From (1), 16=72−5616 = 72 - 56. Substituting:

8=56−(72−56)×3=56−72×3+56×3=56×4−72×38 = 56 - (72 - 56) \times 3 = 56 - 72 \times 3 + 56 \times 3 = 56 \times 4 - 72 \times 3

So:

8=56(4)+72(−3)8 = 56(4) + 72(-3)

Answer: HCF(56,72)=8\text{HCF}(56, 72) = 8, with x=4x = 4 and y=−3y = -3.

Check: 56×4−72×3=224−216=856 \times 4 - 72 \times 3 = 224 - 216 = 8. ✓


5. Summary Table

TaskMethodExample result
HCF of three numbersHCF(HCF(a,b),c)\text{HCF}(\text{HCF}(a, b), c)HCF(441,567,693)=63\text{HCF}(441, 567, 693) = 63
Check by prime factorisationCommon primes, smallest powers32×7=633^2 \times 7 = 63
HCF as ax+byax + byWork backwards through the division steps8=56(4)+72(−3)8 = 56(4) + 72(-3)

6. Exam Tips and Common Mistakes

Exam Tip: When working backwards, keep products like 16×316 \times 3 unmultiplied. This makes it easier to collect the terms in aa and bb.

Exam Tip: Always check your xx and yy by working out ax+byax + by.

Common Mistake: Sign errors when removing brackets: −(72−56)×3=−72×3+56×3-(72 - 56) \times 3 = -72 \times 3 + 56 \times 3.

Common Mistake: Giving the last quotient as the HCF. The HCF is the last non-zero remainder, which is the divisor in the final step.


Frequently Asked Questions

How do you find the HCF of three numbers?

Find the HCF of any two of the numbers, then find the HCF of that result and the third number.

What is the HCF of 441, 567 and 693?

How do you express the HCF of two numbers as ax + by?

Use Euclid's algorithm to find the HCF, then work backwards through the division steps, replacing each remainder, until the HCF is written using only the two numbers.

What are x and y if HCF(56, 72) = 56x + 72y?

x = 4 and y = −3, since 56 × 4 − 72 × 3 = 8.

Is Euclid's algorithm in the current Class 10 syllabus?

It has been removed from the rationalised NCERT Class 10 textbook, which uses prime factorisation for HCF, but it is still useful for older papers and competitive exams.

Concept Check

EXPERT

What is the area of the parallelogram bounded by the four straight lines: 2x+y=3,2x+y=7,x−2y=1,x−2y=62x + y = 3, \quad 2x + y = 7, \quad x - 2y = 1, \quad x - 2y = 6

Suggested for you