Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (125,512,245,016; 4,999,999,920) = ?
Method 1. The prime factorization:
The prime factorization of a number: finding the prime numbers that multiply together to make that number.
125,512,245,016 = 23 × 89 × 113 × 1,560,011
125,512,245,016 is not a prime number but a composite one.
4,999,999,920 = 24 × 3 × 5 × 31 × 672,043
4,999,999,920 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:
125,512,245,016 ÷ 4,999,999,920 = 25 + 512,247,016
Step 2. Divide the smaller number by the above operation's remainder:
4,999,999,920 ÷ 512,247,016 = 9 + 389,776,776
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
512,247,016 ÷ 389,776,776 = 1 + 122,470,240
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
389,776,776 ÷ 122,470,240 = 3 + 22,366,056
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
122,470,240 ÷ 22,366,056 = 5 + 10,639,960
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
22,366,056 ÷ 10,639,960 = 2 + 1,086,136
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
10,639,960 ÷ 1,086,136 = 9 + 864,736
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
1,086,136 ÷ 864,736 = 1 + 221,400
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
864,736 ÷ 221,400 = 3 + 200,536
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
221,400 ÷ 200,536 = 1 + 20,864
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
200,536 ÷ 20,864 = 9 + 12,760
Step 12. Divide the remainder of the step 10 by the remainder of the step 11:
20,864 ÷ 12,760 = 1 + 8,104
Step 13. Divide the remainder of the step 11 by the remainder of the step 12:
12,760 ÷ 8,104 = 1 + 4,656
Step 14. Divide the remainder of the step 12 by the remainder of the step 13:
8,104 ÷ 4,656 = 1 + 3,448
Step 15. Divide the remainder of the step 13 by the remainder of the step 14:
4,656 ÷ 3,448 = 1 + 1,208
Step 16. Divide the remainder of the step 14 by the remainder of the step 15:
3,448 ÷ 1,208 = 2 + 1,032
Step 17. Divide the remainder of the step 15 by the remainder of the step 16:
1,208 ÷ 1,032 = 1 + 176
Step 18. Divide the remainder of the step 16 by the remainder of the step 17:
1,032 ÷ 176 = 5 + 152
Step 19. Divide the remainder of the step 17 by the remainder of the step 18:
176 ÷ 152 = 1 + 24
Step 20. Divide the remainder of the step 18 by the remainder of the step 19:
152 ÷ 24 = 6 + 8
Step 21. Divide the remainder of the step 19 by the remainder of the step 20:
24 ÷ 8 = 3 + 0
At this step, the remainder is zero, so we stop:
8 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 (125,512,245,016; 4,999,999,920) = 8 = 23
The two numbers have common prime factors