A bag contains six balls of different colours. Two balls are drawn in succession with replacement. The probability that both the balls are of the same colour is p. Next four balls are drawn in succession with replacement and the probability that exactly three balls are of the same colours is q. If , where and are coprime, then is equal to ____.
Answer: 14
Solution
With replacement, two draws share a colour with probability . For four draws with exactly three of one colour, the repeated colour can be chosen in ways, its three positions in ways, and the odd ball's colour in ways, so . Then , and since , .
JEE Main · 2023 · 30 Jan 2023 · Shift 2 · Integer answer