We have 3 balls and 3 boxes, and each ball can go into any of the 3 boxes. So, there are $3^3 = 27$ possible outcomes. We can represent the sample space as a set of ordered triples $(b_1, b_2, b_3)$, where $b_i$ is the number of balls in box $i$. The sample space
Show more…