Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (958,003,334; 999,999,999,979) = ?
Method 1. The prime factorization:
The prime factorization of a number: finding the prime numbers that multiply together to make that number.
958,003,334 = 2 × 37 × 2,389 × 5,419
958,003,334 is not a prime number but a composite one.
999,999,999,979 = 43 × 108,637 × 214,069
999,999,999,979 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:
999,999,999,979 ÷ 958,003,334 = 1,043 + 802,522,617
Step 2. Divide the smaller number by the above operation's remainder:
958,003,334 ÷ 802,522,617 = 1 + 155,480,717
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
802,522,617 ÷ 155,480,717 = 5 + 25,119,032
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
155,480,717 ÷ 25,119,032 = 6 + 4,766,525
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
25,119,032 ÷ 4,766,525 = 5 + 1,286,407
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
4,766,525 ÷ 1,286,407 = 3 + 907,304
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
1,286,407 ÷ 907,304 = 1 + 379,103
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
907,304 ÷ 379,103 = 2 + 149,098
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
379,103 ÷ 149,098 = 2 + 80,907
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
149,098 ÷ 80,907 = 1 + 68,191
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
80,907 ÷ 68,191 = 1 + 12,716
Step 12. Divide the remainder of the step 10 by the remainder of the step 11:
68,191 ÷ 12,716 = 5 + 4,611
Step 13. Divide the remainder of the step 11 by the remainder of the step 12:
12,716 ÷ 4,611 = 2 + 3,494
Step 14. Divide the remainder of the step 12 by the remainder of the step 13:
4,611 ÷ 3,494 = 1 + 1,117
Step 15. Divide the remainder of the step 13 by the remainder of the step 14:
3,494 ÷ 1,117 = 3 + 143
Step 16. Divide the remainder of the step 14 by the remainder of the step 15:
1,117 ÷ 143 = 7 + 116
Step 17. Divide the remainder of the step 15 by the remainder of the step 16:
143 ÷ 116 = 1 + 27
Step 18. Divide the remainder of the step 16 by the remainder of the step 17:
116 ÷ 27 = 4 + 8
Step 19. Divide the remainder of the step 17 by the remainder of the step 18:
27 ÷ 8 = 3 + 3
Step 20. Divide the remainder of the step 18 by the remainder of the step 19:
8 ÷ 3 = 2 + 2
Step 21. Divide the remainder of the step 19 by the remainder of the step 20:
3 ÷ 2 = 1 + 1
Step 22. Divide the remainder of the step 20 by the remainder of the step 21:
2 ÷ 1 = 2 + 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 (958,003,334; 999,999,999,979) = 1
Coprime numbers (prime to each other, relatively prime).
The two numbers have no prime factors in common