A fair 6-sided die is rolled 5 times and the result is recorded for each roll.
a) How many different sequences of results are possible?
b) Of the possible sequences of results, how many of them contain exactly 3 rolls of a 4?
I'm pretty sure part (a) is $6^5 = 7,776$.
Part (b) is really confusing me though. I think that I should be using $ _nC_r$ somehow, but I'm not sure what $n$ and $r$ should be.
For (a), you are correct.
For (b), first, try to solve a simpler question:
Now, answer another similar question:
And another similar one:
Once you answer that question, think about