Calculate the greatest (highest) common factor (divisor)
gcf, hcf, gcd (99,999,830; 199,999,999,865) = ?
Method 1. The prime factorization:
The prime factorization of a number: finding the prime numbers that multiply together to make that number.
99,999,830 = 2 × 5 × 7 × 29 × 49,261
99,999,830 is not a prime number but a composite one.
199,999,999,865 = 5 × 179 × 1,259 × 177,493
199,999,999,865 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:
199,999,999,865 ÷ 99,999,830 = 2,000 + 339,865
Step 2. Divide the smaller number by the above operation's remainder:
99,999,830 ÷ 339,865 = 294 + 79,520
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
339,865 ÷ 79,520 = 4 + 21,785
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
79,520 ÷ 21,785 = 3 + 14,165
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
21,785 ÷ 14,165 = 1 + 7,620
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
14,165 ÷ 7,620 = 1 + 6,545
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
7,620 ÷ 6,545 = 1 + 1,075
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
6,545 ÷ 1,075 = 6 + 95
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
1,075 ÷ 95 = 11 + 30
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
95 ÷ 30 = 3 + 5
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
30 ÷ 5 = 6 + 0
At this step, the remainder is zero, so we stop:
5 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 (99,999,830; 199,999,999,865) = 5
The two numbers have common prime factors