Take a test Sign in 中文
← Exercise 573 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 573
Pat wants to buy seven donuts from an ample supply of four types of donuts, and wants at least one donut of each type. How many different selections are possible?
← Back to Problem 573
Solution
  1. Let $a,b,c,d\ge1$ be the numbers of donuts of the four types, so $a+b+c+d=7$.
  2. Put $a'=a-1$, etc. Then $a'+b'+c'+d'=3$ with all variables $\ge0$.
  3. By stars and bars (Theorem 74) the number of solutions is $\binom{3+3}{3}=\boxed{20}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year