24,024,024,162 and 216,216,216,299 are coprime (relatively prime)... if:
- If there is no number other than 1 that evenly divides (without a remainder) both numbers. Or...
- Or, in other words, if their greatest (highest) common factor (divisor), gcf (hcf, gcd), is 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.
24,024,024,162 = 2 × 32 × 827 × 1,613,867
24,024,024,162 is not a prime number, is a composite one.
216,216,216,299 is a prime number, it cannot be prime factorized.
- 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).
But the numbers have no common prime factors.
gcf (hcf, gcd) (24,024,024,162; 216,216,216,299) = 1
Are the numbers 24,024,024,162 and 216,216,216,299 coprime (prime to each other, relatively prime)? Yes, they are.
The numbers have no common prime factors.
gcf (hcf, gcd) (24,024,024,162; 216,216,216,299) = 1
Scroll down for the 2nd method...
Method 2. The Euclidean Algorithm:
- This algorithm involves the process of dividing numbers and calculating the remainders.
- 'a' and 'b' are the two natural numbers, 'a' >= 'b'.
- Divide 'a' by 'b' and get the remainder of the operation, 'r'.
- If 'r' = 0, STOP. 'b' = the gcf (hcf, gcd) of 'a' and 'b'.
- Else: Replace ('a' by 'b') and ('b' by 'r'). Return to the step above.
Step 1. Divide the larger number by the smaller one:
216,216,216,299 ÷ 24,024,024,162 = 8 + 24,024,023,003
Step 2. Divide the smaller number by the above operation's remainder:
24,024,024,162 ÷ 24,024,023,003 = 1 + 1,159
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
24,024,023,003 ÷ 1,159 = 20,728,233 + 956
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
1,159 ÷ 956 = 1 + 203
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
956 ÷ 203 = 4 + 144
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
203 ÷ 144 = 1 + 59
Step 7. Divide the remainder of the step 5 by the remainder of the step 6:
144 ÷ 59 = 2 + 26
Step 8. Divide the remainder of the step 6 by the remainder of the step 7:
59 ÷ 26 = 2 + 7
Step 9. Divide the remainder of the step 7 by the remainder of the step 8:
26 ÷ 7 = 3 + 5
Step 10. Divide the remainder of the step 8 by the remainder of the step 9:
7 ÷ 5 = 1 + 2
Step 11. Divide the remainder of the step 9 by the remainder of the step 10:
5 ÷ 2 = 2 + 1
Step 12. Divide the remainder of the step 10 by the remainder of the step 11:
2 ÷ 1 = 2 + 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).
gcf (hcf, gcd) (24,024,024,162; 216,216,216,299) = 1
Are the numbers 24,024,024,162 and 216,216,216,299 coprime (prime to each other, relatively prime)? Yes, they are.
gcf (hcf, gcd) (24,024,024,162; 216,216,216,299) = 1