We all know the prime numbers. Any number which is only divisible by '1' is called a prime number.
Do you know what is coprime? First of all, it is a relative term, i.e. we can't say any number coprime absolutely, but we have to choose at least two numbers, for example, we can say 2 and 3 are coprime numbers.
But again, what is coprime numbers? Any two number is called coprime to each other if the number that divides both of them is only '1.'
For example:
- 2 and 4 are not coprime because these numbers are divisible by 1 as well as 2.
- 3 and4 are the coprime number because only 1 can divide both of them.
- All the prime number are coprime to each other.