Highest Common Factor of 798, 623 using Euclid's algorithm

Created By : Jatin Gogia

Reviewed By : Rajasekhar Valipishetty

Last Updated : Apr 06, 2023


HCF Calculator using the Euclid Division Algorithm helps you to find the Highest common factor (HCF) easily for 798, 623 i.e. 7 the largest integer that leaves a remainder zero for all numbers.

HCF of 798, 623 is 7 the largest number which exactly divides all the numbers i.e. where the remainder is zero. Let us get into the working of this example.

Consider we have numbers 798, 623 and we need to find the HCF of these numbers. To do so, we need to choose the largest integer first and then as per Euclid's Division Lemma a = bq + r where 0 ≤ r ≤ b

Highest common factor (HCF) of 798, 623 is 7.

HCF(798, 623) = 7

HCF of 798, 623 using Euclid's algorithm

Highest common factor or Highest common divisor (hcd) can be calculated by Euclid's algotithm.

HCF of:

Highest common factor (HCF) of 798, 623 is 7.

Highest Common Factor of 798,623 using Euclid's algorithm

Highest Common Factor of 798,623 is 7

Step 1: Since 798 > 623, we apply the division lemma to 798 and 623, to get

798 = 623 x 1 + 175

Step 2: Since the reminder 623 ≠ 0, we apply division lemma to 175 and 623, to get

623 = 175 x 3 + 98

Step 3: We consider the new divisor 175 and the new remainder 98, and apply the division lemma to get

175 = 98 x 1 + 77

We consider the new divisor 98 and the new remainder 77,and apply the division lemma to get

98 = 77 x 1 + 21

We consider the new divisor 77 and the new remainder 21,and apply the division lemma to get

77 = 21 x 3 + 14

We consider the new divisor 21 and the new remainder 14,and apply the division lemma to get

21 = 14 x 1 + 7

We consider the new divisor 14 and the new remainder 7,and apply the division lemma to get

14 = 7 x 2 + 0

The remainder has now become zero, so our procedure stops. Since the divisor at this stage is 7, the HCF of 798 and 623 is 7

Notice that 7 = HCF(14,7) = HCF(21,14) = HCF(77,21) = HCF(98,77) = HCF(175,98) = HCF(623,175) = HCF(798,623) .

HCF using Euclid's Algorithm Calculation Examples

Here are some samples of HCF using Euclid's Algorithm calculations.

Frequently Asked Questions on HCF of 798, 623 using Euclid's Algorithm

1. What is the Euclid division algorithm?

Answer: Euclid's Division Algorithm is a technique to compute the Highest Common Factor (HCF) of given positive integers.

2. what is the HCF of 798, 623?

Answer: HCF of 798, 623 is 7 the largest number that divides all the numbers leaving a remainder zero.

3. How to find HCF of 798, 623 using Euclid's Algorithm?

Answer: For arbitrary numbers 798, 623 apply Euclid’s Division Lemma in succession until you obtain a remainder zero. HCF is the remainder in the last but one step.