Two numbers are relatively prime only when they have 1 as the common factor . or in other words they can not be divided by any other number other than 1 and itself.
To find
relative prime
of two numbers we need to find the HCF of the numbers. If the HCF is 1, then the two numbers are said to be relatively primes or in other words only 1 should be common as factor.