Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (159,997; 1,504,197,897) = ?
Method 1. The prime factorization:
The prime factorization of a number: finding the prime numbers that multiply together to make that number.
159,997 = 193 × 829
159,997 is not a prime number but a composite one.
1,504,197,897 = 3 × 29 × 3,719 × 4,649
1,504,197,897 is not a prime number but a composite one.
- Prime number: a natural number that is only divisible by 1 and itself. A prime number has exactly two factors: 1 and itself.
- Composite number: 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).
But the two numbers have no common prime factors.
Step 1. Divide the larger number by the smaller one:
1,504,197,897 ÷ 159,997 = 9,401 + 66,100
Step 2. Divide the smaller number by the above operation's remainder:
159,997 ÷ 66,100 = 2 + 27,797
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
66,100 ÷ 27,797 = 2 + 10,506
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
27,797 ÷ 10,506 = 2 + 6,785
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
10,506 ÷ 6,785 = 1 + 3,721
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
6,785 ÷ 3,721 = 1 + 3,064
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
3,721 ÷ 3,064 = 1 + 657
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
3,064 ÷ 657 = 4 + 436
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
657 ÷ 436 = 1 + 221
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
436 ÷ 221 = 1 + 215
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
221 ÷ 215 = 1 + 6
Step 12. Divide the remainder of the step 10 by the remainder of the step 11:
215 ÷ 6 = 35 + 5
Step 13. Divide the remainder of the step 11 by the remainder of the step 12:
6 ÷ 5 = 1 + 1
Step 14. Divide the remainder of the step 12 by the remainder of the step 13:
5 ÷ 1 = 5 + 0
At this step, the remainder is zero, so we stop:
1 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 (159,997; 1,504,197,897) = 1
Coprime numbers (prime to each other, relatively prime).
The two numbers have no prime factors in common