Gift baskets with a random number of item types
Question
A bakery manager picks uniformly at random from . He then puts together a gift basket of items, choosing from distinct dessert types; repeats are allowed and only how many of each type matters. What is the expected number of different baskets he could make?
Short answer
. For a given , baskets correspond to non-negative solutions of , of which there are by stars and bars: . Averaging, .
Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.
See the hint and the full worked solution in the question bank (free account).
Open the worked solutionLessons behind this question
- Counting and Combinatorics
- Conditional Probability, Total Probability, and Bayes' Rule
- Worked Examples — Probability Trees, Monty Hall, and Bayesian Updating
Start with a free lesson: Probability Fundamentals is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.
Read it free