A man enters a bakery just before it closes in order to buy
A man enters a bakery just before it closes in order to buy donuts. There are only 4 kinds of donuts left, namely 5 plain donuts, 6 glazed donuts, 7 cocnut donuts and 8 chocolate donuts. The man places no restrictions on the kind of donuts he buys. How many diffwrent assortments are possible if the man decides to buy
5 donuts?
6 donuts?
7 donuts?
(discrete math problem)
Solution
total donuts = 5+6+7+8 = 26
So we have to choose 5 donuts out of 26 as there is no rstrictions. This can be done in 26C5 ways = 65780 ways
For 6 donuts, number of ways of choosing = 26C6 ways = 230230 ways
For 7 donuts, number of ways of choosing = 26C7 ways = 657800 ways.
