I have got an idea for the second question but I think my approach is too long and I would like to ask whether there are any other quicker methods?
Eight cards are selected with replacement from a standard pack of 52 playing cards, with 12 picture cards, 20 odd cards and 20 even cards.
(a) How many different sequences of eight cards are possible?
(b) How many of the sequences in part (a) will contain three picture cards, three odd-numbered cards and two even-numbered cards?
My solutions:
(a) $52^8$
(b) Divide into cases of:
when none of the picture cards are together, when two of the picture cards are together, when all of the picture cards are together;
similarly for the odd and even numbered cards.
I am not sure whether my working is correct but pretty sure there should be a faster way for part (b). Just for reference, the solution is $3.907\times 10^{12}$.
Many thanks for all the helps!