Solveeit Logo

Question

Question: Two numbers a and b are chosen at random from the set of first 30 natural numbers. The probability t...

Two numbers a and b are chosen at random from the set of first 30 natural numbers. The probability that a2 – b2 is divisible by 3 is

A

9/87

B

12/87

C

15/87

D

47/87

Answer

47/87

Explanation

Solution

The total number of ways of choosing two numbers out of 1, 2, 3, ..., 30 is 30C2=43530C_{2} = 435.

Since a2 – b2 is divisible by 3 if either a and b both are divisible by 3 or none of a and b is divisible by 3. Thus the favourable number of cases = 10C2+20C2=23510C_{2} +^{20}C_{2} = 235.

Hence the required probability = 235435=4787\frac{235}{435} = \frac{47}{87}