Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (399,999,999,924; 1,003,456,702) = ?
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,924 = 22 × 34 × 7 × 31 × 613 × 9,281
399,999,999,924 is not a prime number but a composite one.
1,003,456,702 = 2 × 863 × 581,377
1,003,456,702 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).
Step 1. Divide the larger number by the smaller one:
399,999,999,924 ÷ 1,003,456,702 = 398 + 624,232,528
Step 2. Divide the smaller number by the above operation's remainder:
1,003,456,702 ÷ 624,232,528 = 1 + 379,224,174
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
624,232,528 ÷ 379,224,174 = 1 + 245,008,354
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
379,224,174 ÷ 245,008,354 = 1 + 134,215,820
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
245,008,354 ÷ 134,215,820 = 1 + 110,792,534
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
134,215,820 ÷ 110,792,534 = 1 + 23,423,286
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
110,792,534 ÷ 23,423,286 = 4 + 17,099,390
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
23,423,286 ÷ 17,099,390 = 1 + 6,323,896
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
17,099,390 ÷ 6,323,896 = 2 + 4,451,598
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
6,323,896 ÷ 4,451,598 = 1 + 1,872,298
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
4,451,598 ÷ 1,872,298 = 2 + 707,002
Step 12. Divide the remainder of the step 10 by the remainder of the step 11:
1,872,298 ÷ 707,002 = 2 + 458,294
Step 13. Divide the remainder of the step 11 by the remainder of the step 12:
707,002 ÷ 458,294 = 1 + 248,708
Step 14. Divide the remainder of the step 12 by the remainder of the step 13:
458,294 ÷ 248,708 = 1 + 209,586
Step 15. Divide the remainder of the step 13 by the remainder of the step 14:
248,708 ÷ 209,586 = 1 + 39,122
Step 16. Divide the remainder of the step 14 by the remainder of the step 15:
209,586 ÷ 39,122 = 5 + 13,976
Step 17. Divide the remainder of the step 15 by the remainder of the step 16:
39,122 ÷ 13,976 = 2 + 11,170
Step 18. Divide the remainder of the step 16 by the remainder of the step 17:
13,976 ÷ 11,170 = 1 + 2,806
Step 19. Divide the remainder of the step 17 by the remainder of the step 18:
11,170 ÷ 2,806 = 3 + 2,752
Step 20. Divide the remainder of the step 18 by the remainder of the step 19:
2,806 ÷ 2,752 = 1 + 54
Step 21. Divide the remainder of the step 19 by the remainder of the step 20:
2,752 ÷ 54 = 50 + 52
Step 22. Divide the remainder of the step 20 by the remainder of the step 21:
54 ÷ 52 = 1 + 2
Step 23. Divide the remainder of the step 21 by the remainder of the step 22:
52 ÷ 2 = 26 + 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 (399,999,999,924; 1,003,456,702) = 2
The two numbers have common prime factors