The difference between Coprime and Relatively prime
When used as adjectives, coprime means having no positive integer factors in common, aside from 1, whereas relatively prime means having no factors (except the number 1) in common.
check bellow for the other definitions of Coprime and Relatively prime
-
Coprime as an adjective (number theory, of two or more positive integers):
Having no positive integer factors in common, aside from 1.
Examples:
"24 and 35 are coprime."
-
Coprime as an adjective (number theory, of a positive integer):
Having no positive integer factors, aside from 1, in common with one or more specified other positive integers.
Examples:
"24 is coprime to 35."
-
Relatively prime as an adjective (mathematics, of two or more numbers):
having no factors (except the number 1) in common.
Examples:
"24 and 35 are relatively prime."
-
Relatively prime as an adjective (mathematics, of a number):
having no factors (except the number 1) in common with a specified other number or numbers.
Examples:
"24 is relatively prime to 35."