Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (5,159,780,387; 2,357,947,710) = ?
Method 1. The prime factorization:
The prime factorization of a number: finding the prime numbers that multiply together to make that number.
5,159,780,387 = 191 × 27,014,557
5,159,780,387 is not a prime number but a composite one.
2,357,947,710 = 2 × 32 × 5 × 239 × 109,621
2,357,947,710 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:
5,159,780,387 ÷ 2,357,947,710 = 2 + 443,884,967
Step 2. Divide the smaller number by the above operation's remainder:
2,357,947,710 ÷ 443,884,967 = 5 + 138,522,875
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
443,884,967 ÷ 138,522,875 = 3 + 28,316,342
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
138,522,875 ÷ 28,316,342 = 4 + 25,257,507
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
28,316,342 ÷ 25,257,507 = 1 + 3,058,835
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
25,257,507 ÷ 3,058,835 = 8 + 786,827
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
3,058,835 ÷ 786,827 = 3 + 698,354
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
786,827 ÷ 698,354 = 1 + 88,473
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
698,354 ÷ 88,473 = 7 + 79,043
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
88,473 ÷ 79,043 = 1 + 9,430
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
79,043 ÷ 9,430 = 8 + 3,603
Step 12. Divide the remainder of the step 10 by the remainder of the step 11:
9,430 ÷ 3,603 = 2 + 2,224
Step 13. Divide the remainder of the step 11 by the remainder of the step 12:
3,603 ÷ 2,224 = 1 + 1,379
Step 14. Divide the remainder of the step 12 by the remainder of the step 13:
2,224 ÷ 1,379 = 1 + 845
Step 15. Divide the remainder of the step 13 by the remainder of the step 14:
1,379 ÷ 845 = 1 + 534
Step 16. Divide the remainder of the step 14 by the remainder of the step 15:
845 ÷ 534 = 1 + 311
Step 17. Divide the remainder of the step 15 by the remainder of the step 16:
534 ÷ 311 = 1 + 223
Step 18. Divide the remainder of the step 16 by the remainder of the step 17:
311 ÷ 223 = 1 + 88
Step 19. Divide the remainder of the step 17 by the remainder of the step 18:
223 ÷ 88 = 2 + 47
Step 20. Divide the remainder of the step 18 by the remainder of the step 19:
88 ÷ 47 = 1 + 41
Step 21. Divide the remainder of the step 19 by the remainder of the step 20:
47 ÷ 41 = 1 + 6
Step 22. Divide the remainder of the step 20 by the remainder of the step 21:
41 ÷ 6 = 6 + 5
Step 23. Divide the remainder of the step 21 by the remainder of the step 22:
6 ÷ 5 = 1 + 1
Step 24. Divide the remainder of the step 22 by the remainder of the step 23:
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 (5,159,780,387; 2,357,947,710) = 1
Coprime numbers (prime to each other, relatively prime).
The two numbers have no prime factors in common