6,158 and 4,572 are not relatively prime... if:
- If there is at least one number other than 1 that evenly divides the two numbers (without a remainder). Or...
- Or, in other words, if their greatest (highest) common factor (divisor), gcf (hcf, gcd), is not equal to 1.
Calculate the greatest (highest) common factor (divisor),
gcf (hcf, gcd), of the two numbers
Method 1. The prime factorization:
The prime factorization of a number: finding the prime numbers that multiply together to make that number.
6,158 = 2 × 3,079
6,158 is not a prime number, is a composite one.
4,572 = 22 × 32 × 127
4,572 is not a prime number, is a composite one.
- Prime number: a number that is divisible (dividing evenly) only by 1 and itself. A prime number has only 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), gcf (hcf, gcd):
Multiply all the common prime factors of the two numbers, taken by their smallest exponents (powers).
Step 1. Divide the larger number by the smaller one:
6,158 ÷ 4,572 = 1 + 1,586
Step 2. Divide the smaller number by the above operation's remainder:
4,572 ÷ 1,586 = 2 + 1,400
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
1,586 ÷ 1,400 = 1 + 186
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
1,400 ÷ 186 = 7 + 98
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
186 ÷ 98 = 1 + 88
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
98 ÷ 88 = 1 + 10
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
88 ÷ 10 = 8 + 8
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
10 ÷ 8 = 1 + 2
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
8 ÷ 2 = 4 + 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).
gcf (hcf, gcd) (6,158; 4,572) = 2 ≠ 1
Are the numbers 6,158 and 4,572 coprime (prime to each other, relatively prime)? No, they are not.
gcf (hcf, gcd) (4,572; 6,158) = 2 ≠ 1