According to Euclidâ€™s Division Lemma if we have two positive integers a and b, then there exist unique integers *q* and *r* which satisfies the condition *a = bq + r* where 0* â‰¤ r < b*.

The basis of the Euclidean division algorithm is Euclidâ€™s division lemma. To calculate the Highest Common Factor (HCF) of two positive integers *a* and *b* we use Euclidâ€™s division algorithm. HCF is the largest number which exactly divides two or more positive integers. That means that on dividing both the integers *a* and *b* the remainder is zero.

Let us now get into the working of this euclidian algorithm.

## Euclid’s Division Lemma Algorithm

Consider two numbers 78 and 980 and we need to find the HCF of these numbers. To do this, we choose the largest integer first, i.e. 980 and then according to Euclid Division Lemma, *a = bq + r* where 0 â‰¤ *r*Â <Â *b*;

980 = 78 Ã— 12 + 44

Now, here *a* = 980, *b* = 78, *q* = 12 and *r* = 44.

Now consider the divisor as 78 and the remainder 44 and apply the Euclid division lemma again.

78 = 44 Ã— 1 + 34

Similarly, consider the divisor 44 and the remainder 34 and apply the Euclid division lemma to 44 and 34.

44 = 34 Ã— 1 + 10

Following the same procedure again,

34 = 10 Ã— 3 + 4

10 = 4 Ã— 2 + 2

4 = 2 Ã— 2 + 0

As we see that the remainder has become zero, therefore, proceeding further is not possible. Hence, the HCF is the divisor *b* left in the last step. We can conclude that the HCF of 980 and 78 is 2.

Let us try another example to find the HCF of two numbers 250 and 75. Here, the larger the integer is 250, therefore, by applying Euclid Division Lemma *a = bq + r* where 0 â‰¤* r < b*, we have

a = 250 and b = 75

â‡’ 250 = 75 Ã— 3 + 25

By applying the Euclidâ€™s Division Algorithm again we have,

75 = 25 Ã— 3 + 0

As the remainder becomes zero, we cannot proceed further. According to the algorithm, in this case, the divisor is 25 and hence, the HCF of 250 and 75 is 25.

### Example

**Example: Find the HCF of 81 and 675 using the Euclidean division algorithm.**

Solution: The larger integer is 675, therefore, by applying the Division Lemma *a = bq + r* where 0 â‰¤ *r < b*, we have

*a* = 675 and *b* = 81

â‡’ 675 = 81 Ã— 8 + 27

By applying the Euclidâ€™s Division Algorithm again we have,

81 = 27 Ã— 3 + 0

We cannot proceed further as the remainder becomes zero. According to the algorithm, in this case, the divisor is 27. Hence, the HCF of 675 and 81 is 27.

This algorithm has got many practical applications in finding the properties of numbers. There is a lot more left to learn in real numbers. Enrich your knowledge by visiting our website www.byjus.com and download BYJUâ€™S-the learning app and learn anywhere.

Thank you so much for clearing my doubts.