There are 330 different ways for choosing a dozen donuts from the 4 varieties at a donut shop. (at least one donut of every variety must be selected)
<h3>How to calculate the number of ways to select items?</h3>
There are 'r' items from 'n' different varieties (repetition allowed). Then, the number of ways to select items is given by
The number of ways = ![_{n+r-1}C_r](https://tex.z-dn.net/?f=_%7Bn%2Br-1%7DC_r)
Where the combination
is calculated as
![_{n}C_r=\frac{n!}{r!(n-r)!}](https://tex.z-dn.net/?f=_%7Bn%7DC_r%3D%5Cfrac%7Bn%21%7D%7Br%21%28n-r%29%21%7D)
<h3 /><h3>Calculation:</h3>
It is given that there are 4 varieties of donuts in a shop. I.e., n = 4
Number of donuts to be selected r = 12 (one dozen)
And also given that at least one donut of every variety has to be selected.
Since there are 4 varieties, at least one from each of these means the count is 4.
So, the remaining number of donuts to be selected is 12 - 4 = 8.
So, r becomes 8 i.e., r = 8
On substituting,
the number of ways of selecting the remaining 8 donuts = ![_{4+8-1}C_4](https://tex.z-dn.net/?f=_%7B4%2B8-1%7DC_4)
⇒ ![_{11}C_4](https://tex.z-dn.net/?f=_%7B11%7DC_4)
⇒ ![\frac{11!}{4!(11-4)!}](https://tex.z-dn.net/?f=%5Cfrac%7B11%21%7D%7B4%21%2811-4%29%21%7D)
⇒ ![\frac{11!}{(4!)(7!)}](https://tex.z-dn.net/?f=%5Cfrac%7B11%21%7D%7B%284%21%29%287%21%29%7D)
⇒ 330
Therefore, there are 330 different ways for choosing a dozen donuts from the 4 varieties at a donut shop.
Learn more about combinations here:
brainly.com/question/11732255
#SPJ4