The GCF (6,502 and 2,172) = ? Calculate the Greatest (Highest) Common Factor (Divisor), GCF (HCF, GCD), of the Numbers, by Two Methods: 1) The Prime Factorization and 2) The Euclidean Algorithm

gcf, hcf, gcd (6,502; 2,172) = ?

The two methods used below to calculate the greatest common factor: [1] The prime factorization [2] The Euclidean Algorithm

Method 1. The prime factorization:

The prime factorization of a number: finding the prime numbers that multiply together to make that number.


6,502 = 2 × 3,251
6,502 is not a prime number but a composite one.


2,172 = 22 × 3 × 181
2,172 is not a prime number but a composite one.


* The natural numbers that are only divisible by 1 and themselves are called prime numbers. A prime number has exactly two factors: 1 and itself.
* A composite number is a natural number that has at least one other factor than 1 and itself.



Calculate the greatest (highest) common factor (divisor):

Multiply all the common prime factors, taken by their smallest exponents (the smallest powers).


The greatest (highest) common factor (divisor),
gcf, hcf, gcd (6,502; 2,172) = 2
The two numbers have common prime factors.
Scroll down for the 2nd method...

Method 2. The Euclidean Algorithm:

This algorithm involves the process of dividing numbers and calculating the remainders.


'a' and 'b' are the two natural numbers, 'a' >= 'b'.


Divide 'a' by 'b' and get the remainder of the operation, 'r'.


If 'r' = 0, STOP. 'b' = the gcf (hcf, gcd) of 'a' and 'b'.


Else: Replace ('a' by 'b') and ('b' by 'r'). Return to the step above.




Step 1. Divide the larger number by the smaller one:
6,502 ÷ 2,172 = 2 + 2,158
Step 2. Divide the smaller number by the above operation's remainder:
2,172 ÷ 2,158 = 1 + 14
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
2,158 ÷ 14 = 154 + 2
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
14 ÷ 2 = 7 + 0
At this step, the remainder is zero, so we stop:
2 is the number we were looking for - the last non-zero remainder.
This is the greatest (highest) common factor (divisor).


The greatest (highest) common factor (divisor):
gcf, hcf, gcd (6,502; 2,172) = 2
The two numbers have common prime factors

Why do we need to calculate the greatest common factor?

Once you've calculated the greatest common factor of the numerator and the denominator of a fraction, it becomes much easier to fully reduce (simplify) the fraction to the lowest terms (the smallest possible numerator and denominator).


Other similar operations with the greatest (highest) common factor (divisor):


Calculator of the greatest (highest) common factor (divisor), gcf, hcf, gcd

Calculate the greatest (highest) common factor (divisor) of numbers, gcd, hcf, gcd:

Method 1: Run the prime factorization of the numbers - then multiply all the common prime factors, taken by their smallest exponents. If there are no common prime factors, then gcf equals 1.

Method 2: The Euclidean Algorithm.

Method 3: The divisibility of the numbers.

The greatest (highest) common factor (divisor), gcf (hcf, gcd): the latest 10 calculated values

What is the greatest (highest) common factor (divisor) of the numbers 6,502 and 2,172? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 12 and 6? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 7,715 and 99? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 36 and 9,757? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 9,677 and 3,097? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 18 and 24? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 66 and 155? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 2,138 and 372? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 4 and 10,580? How to calculate the GCF (HCF, GCD)? Sep 22 08:28 UTC (GMT)
What is the greatest (highest) common factor (divisor) of the numbers 18 and 20? How to calculate the GCF (HCF, GCD)? Sep 22 08:27 UTC (GMT)
The greatest (highest) common factor (divisor), gcf (hcf, gcd): the list of all the calculations

The greatest (highest) common factor (divisor), gcf, hcf, gcd. What it is and how to calculate it.

Some articles on the prime numbers

What is a prime number? Definition, examples

What is a composite number? Definition, examples

The prime numbers up to 1,000

The prime numbers up to 10,000

The Sieve of Eratosthenes

The Euclidean Algorithm

Completely reduce (simplify) fractions to the lowest terms: Steps and Examples