Math Problem Statement

Five cards are drawn randomly from a pack of 52 playing cards (without jokers), where Ace, 2, 3, 4, 5, 6, 7, 8, 9 and 10 are all number cards.

(a)Given that all five cards drawn are number cards and there are at least two cards of the same number, find the probability that only two different numbers are obtained from the cards drawn and at most three cards of the same number are drawn.

Solution