Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (399,999,999,927; 1,003,456,646) = ?
Method 1. The prime factorization:
The prime factorization of a number: finding the prime numbers that multiply together to make that number.
399,999,999,927 = 3 × 11 × 1,327 × 2,111 × 4,327
399,999,999,927 is not a prime number but a composite one.
1,003,456,646 = 2 × 971 × 516,713
1,003,456,646 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:
399,999,999,927 ÷ 1,003,456,646 = 398 + 624,254,819
Step 2. Divide the smaller number by the above operation's remainder:
1,003,456,646 ÷ 624,254,819 = 1 + 379,201,827
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
624,254,819 ÷ 379,201,827 = 1 + 245,052,992
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
379,201,827 ÷ 245,052,992 = 1 + 134,148,835
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
245,052,992 ÷ 134,148,835 = 1 + 110,904,157
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
134,148,835 ÷ 110,904,157 = 1 + 23,244,678
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
110,904,157 ÷ 23,244,678 = 4 + 17,925,445
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
23,244,678 ÷ 17,925,445 = 1 + 5,319,233
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
17,925,445 ÷ 5,319,233 = 3 + 1,967,746
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
5,319,233 ÷ 1,967,746 = 2 + 1,383,741
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
1,967,746 ÷ 1,383,741 = 1 + 584,005
Step 12. Divide the remainder of the step 10 by the remainder of the step 11:
1,383,741 ÷ 584,005 = 2 + 215,731
Step 13. Divide the remainder of the step 11 by the remainder of the step 12:
584,005 ÷ 215,731 = 2 + 152,543
Step 14. Divide the remainder of the step 12 by the remainder of the step 13:
215,731 ÷ 152,543 = 1 + 63,188
Step 15. Divide the remainder of the step 13 by the remainder of the step 14:
152,543 ÷ 63,188 = 2 + 26,167
Step 16. Divide the remainder of the step 14 by the remainder of the step 15:
63,188 ÷ 26,167 = 2 + 10,854
Step 17. Divide the remainder of the step 15 by the remainder of the step 16:
26,167 ÷ 10,854 = 2 + 4,459
Step 18. Divide the remainder of the step 16 by the remainder of the step 17:
10,854 ÷ 4,459 = 2 + 1,936
Step 19. Divide the remainder of the step 17 by the remainder of the step 18:
4,459 ÷ 1,936 = 2 + 587
Step 20. Divide the remainder of the step 18 by the remainder of the step 19:
1,936 ÷ 587 = 3 + 175
Step 21. Divide the remainder of the step 19 by the remainder of the step 20:
587 ÷ 175 = 3 + 62
Step 22. Divide the remainder of the step 20 by the remainder of the step 21:
175 ÷ 62 = 2 + 51
Step 23. Divide the remainder of the step 21 by the remainder of the step 22:
62 ÷ 51 = 1 + 11
Step 24. Divide the remainder of the step 22 by the remainder of the step 23:
51 ÷ 11 = 4 + 7
Step 25. Divide the remainder of the step 23 by the remainder of the step 24:
11 ÷ 7 = 1 + 4
Step 26. Divide the remainder of the step 24 by the remainder of the step 25:
7 ÷ 4 = 1 + 3
Step 27. Divide the remainder of the step 25 by the remainder of the step 26:
4 ÷ 3 = 1 + 1
Step 28. Divide the remainder of the step 26 by the remainder of the step 27:
3 ÷ 1 = 3 + 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 (399,999,999,927; 1,003,456,646) = 1
Coprime numbers (prime to each other, relatively prime).
The two numbers have no prime factors in common