1 answer
(click or scroll down)
The sample space of the repeated experiment can be represented as follows:
{BBB, BBR, BBY, BRB, BRR, BRY, BYB, BYR, BYY, RBB, RBR, RBY, RRB, RRR, RRY, RYB, RYR, RYY, YBB, YBR, YBY, YRB, YRR, YRY, YYB, YYR, YYY}
This includes all possible sequences of buttons that could be selected when drawing a button from the bag three times with replacement.