Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2018/discrete-mathematics-continuous-mathematics-and-probability/8/a/iii/solution

Let be the indicator random variable that colour appears at least once. Then . For a colour of single-roll probability , independence of rolls gives . By linearity of expectation,
The three indicators are not independent, but linearity of expectation does not require them to be. This is the expected number of observed categories.

New to topics? Read the docs here!