Write the following relations as the sets of ordered pairs:

A relation R on the set {1,2,3,4,5,6,7} defined by


(x, y) R x is relatively prime to y.

Relatively prime numbers are also known as co-prime numbers. If there is no integer greater than one that divides both (that is, their greatest common divisor is one). For example, 12 and 13 are relatively prime, but 12 and14 are not as their greatest common divisor is two.

Given, (x, y) R x is relatively prime to y


Here,


2 is co-prime to 3, 5 and 7.


3 is co-prime to 2, 4, 5 and 7.


4 is co-prime to 3, 5 and 7.


5 is co-prime to 2, 3, 4, 6 and 7.


6 is co-prime to 5 and 7.


7 is co-prime to 2, 3, 4, 5 and 6.


R ={(2,3), (2,5), (2,7), (3,2), (3,4), (3,5), (3,7), (4,3), (4.5), (4,7), (5,2), (5,3), (5,4), (5,6), (5,7), (6,5), (6,7), (7,2), (7,3), (7,4), (7,5), (7,6)}


5