4.3.5 problem 42

Let be the indicator variable for the -th toy being of a new type. The number of toy types after collecting toys is . . Thus,