Solution:
Clearly, A= {2, 3, 5, 7, 11, 13, 17, 19, 23, 29}. The total number of rational numbers whose numerator and denominator belong to A is equal to the number of arrangements of the numbers of set A by taking two at a time. Hence, required number of rational numbers