Are the two numbers 252 and 3,004 coprime (relatively prime, prime to each other)? Check if their greatest common factor, gcf, is equal to 1

Are the numbers 252 and 3,004 coprime (prime to each other, relatively prime)?

252 and 3,004 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, 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 numbers

Method 1. The prime factorization:

The prime factorization of a number: finding the prime numbers that multiply together to make that number.


252 = 22 × 32 × 7
252 is not a prime number, is a composite one.


3,004 = 22 × 751
3,004 is not a prime number, is a composite one.


The numbers that are only divisible by 1 and themselves are called prime numbers. A prime number has only two factors: 1 and itself.


A composite number is a natural number that has at least one other factor than 1 and itself.

>> The prime factorization of numbers



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).


gcf (hcf, gcd) (252; 3,004) = 22 = 4 ≠ 1



Coprime numbers (prime to each other, relatively prime) (252; 3,004)? No.
The two numbers have common prime factors.
gcf (hcf, gcd) (252; 3,004) = 4 ≠ 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.

>> The Euclidean Algorithm



Step 1. Divide the larger number by the smaller one:
3,004 ÷ 252 = 11 + 232
Step 2. Divide the smaller number by the above operation's remainder:
252 ÷ 232 = 1 + 20
Step 3. Divide the remainder of the step 1 by the remainder of the step 2:
232 ÷ 20 = 11 + 12
Step 4. Divide the remainder of the step 2 by the remainder of the step 3:
20 ÷ 12 = 1 + 8
Step 5. Divide the remainder of the step 3 by the remainder of the step 4:
12 ÷ 8 = 1 + 4
Step 6. Divide the remainder of the step 4 by the remainder of the step 5:
8 ÷ 4 = 2 + 0
At this step, the remainder is zero, so we stop:
4 is the number we were looking for - the last non-zero remainder.
This is the greatest (highest) common factor (divisor).


gcf (hcf, gcd) (252; 3,004) = 4 ≠ 1


Coprime numbers (prime to each other, relatively prime) (252; 3,004)? No.
gcf (hcf, gcd) (252; 3,004) = 4 ≠ 1

Other similar operations with comprime numbers:


The latest 5 pairs of numbers checked on whether they are coprime (prime to each other, relatively prime) or not

Are the two numbers coprime (relatively prime)?

Two natural numbers are coprime (relatively prime, prime to each other) - if there is no number that is evenly dividing both numbers (= without a remainder), that is, if their greatest (highest) common factor (divisor), gcf, or hcf, or gcd is 1.

Two natural numbers are not relatively prime - if there is at least one number that evenly divides the two numbers, that is, if their greatest common factor, gcf, is not 1.

Coprime numbers (also called: numbers prime to each other, relatively prime, mutually prime)

Some articles on the prime numbers

What is a prime number? Definition, examples

What is a composite number? Definition, examples

The prime numbers up to 1,000

The prime numbers up to 10,000

The Sieve of Eratosthenes

The Euclidean Algorithm

Completely reduce (simplify) fractions to the lowest terms: Steps and Examples