I was doing number counting problem and wanted to check if my result was correct.
Problem description:
From a standard deck of cards(52 cards, 4 suits, 13 numbers in each suit) there are 5 cards drawn. Calculate number of hands where there are atleast two cards with the same number and atleast two cards with different number. The fifth card can be anything, even same as one of the pair numbers.
For example these two would be valid hands:
5$\heartsuit$ 5$\clubsuit$ 9$\spadesuit$ 9$\diamondsuit$ 2$\heartsuit$,
J$\heartsuit$ J$\clubsuit$ 4$\spadesuit$ 4$\diamondsuit$ 4$\heartsuit$
My attempt at solving this:
First I choose two cards with the same number from two different suits.
$\dbinom{13}{1} * \dbinom{4}{2}$
Then I choose two cards with the same number but not the one from the first two and two different suits.
$\dbinom{12}{1} * \dbinom{4}{2}$
Finally I choose the last card which can be anything.
$\dbinom{13}{1} * \dbinom{4}{1}$
So the total number of hands would be: $\dbinom{13}{1} * \dbinom{4}{2} * \dbinom{12}{1} * \dbinom{4}{2} * \dbinom{13}{1} * \dbinom{4}{1}$
Is this correct? If not then could you correct the part where I am wrong?
Thanks!