Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (399,999,999,898; 1,003,456,647) = ?
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,898 = 2 × 199,999,999,949
399,999,999,898 is not a prime number but a composite one.
1,003,456,647 = 33 × 37,165,061
1,003,456,647 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,898 ÷ 1,003,456,647 = 398 + 624,254,392
Step 2. Divide the smaller number by the above operation's remainder:
1,003,456,647 ÷ 624,254,392 = 1 + 379,202,255
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
624,254,392 ÷ 379,202,255 = 1 + 245,052,137
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
379,202,255 ÷ 245,052,137 = 1 + 134,150,118
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
245,052,137 ÷ 134,150,118 = 1 + 110,902,019
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
134,150,118 ÷ 110,902,019 = 1 + 23,248,099
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
110,902,019 ÷ 23,248,099 = 4 + 17,909,623
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
23,248,099 ÷ 17,909,623 = 1 + 5,338,476
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
17,909,623 ÷ 5,338,476 = 3 + 1,894,195
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
5,338,476 ÷ 1,894,195 = 2 + 1,550,086
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
1,894,195 ÷ 1,550,086 = 1 + 344,109
Step 12. Divide the remainder of the step 10 by the remainder of the step 11:
1,550,086 ÷ 344,109 = 4 + 173,650
Step 13. Divide the remainder of the step 11 by the remainder of the step 12:
344,109 ÷ 173,650 = 1 + 170,459
Step 14. Divide the remainder of the step 12 by the remainder of the step 13:
173,650 ÷ 170,459 = 1 + 3,191
Step 15. Divide the remainder of the step 13 by the remainder of the step 14:
170,459 ÷ 3,191 = 53 + 1,336
Step 16. Divide the remainder of the step 14 by the remainder of the step 15:
3,191 ÷ 1,336 = 2 + 519
Step 17. Divide the remainder of the step 15 by the remainder of the step 16:
1,336 ÷ 519 = 2 + 298
Step 18. Divide the remainder of the step 16 by the remainder of the step 17:
519 ÷ 298 = 1 + 221
Step 19. Divide the remainder of the step 17 by the remainder of the step 18:
298 ÷ 221 = 1 + 77
Step 20. Divide the remainder of the step 18 by the remainder of the step 19:
221 ÷ 77 = 2 + 67
Step 21. Divide the remainder of the step 19 by the remainder of the step 20:
77 ÷ 67 = 1 + 10
Step 22. Divide the remainder of the step 20 by the remainder of the step 21:
67 ÷ 10 = 6 + 7
Step 23. Divide the remainder of the step 21 by the remainder of the step 22:
10 ÷ 7 = 1 + 3
Step 24. Divide the remainder of the step 22 by the remainder of the step 23:
7 ÷ 3 = 2 + 1
Step 25. Divide the remainder of the step 23 by the remainder of the step 24:
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,898; 1,003,456,647) = 1
Coprime numbers (prime to each other, relatively prime).
The two numbers have no prime factors in common