Two distinct numbers a and b are selected at random from {1,2,3,…,50}. The probability that their product ab is divisible by 3 is
Solutions · 1
Official solution
Total ways =(250)=1225.
ab is not divisible by 3 only if neither a nor b is divisible by 3. Multiples of 3 in 1 to 50: ⌊50/3⌋=16, so numbers not divisible by 3: 50−16=34.
Unfavourable pairs =(234)=234×33=561.
Favourable pairs =1225−561=664.
\[P = \frac{664}{1225}\]