Ordering Dozen Doughnuts: How Many Ways?

  • Thread starter Thread starter coldcell
  • Start date Start date
  • Tags Tags
    Counting
Click For Summary
SUMMARY

The problem of ordering a dozen doughnuts from 5 types (a, b, c, d, e) can be solved using combinatorial mathematics. The correct approach involves distributing 12 identical doughnuts into 5 distinct boxes, which can be calculated using the "stars and bars" theorem. The final solution is given by the combination formula 16 C 4, which equals 16!/(4!12!). This method effectively accounts for the indistinguishability of the doughnuts.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with the "stars and bars" theorem
  • Knowledge of combination formulas, specifically nCr
  • Basic problem-solving skills in discrete mathematics
NEXT STEPS
  • Study the "stars and bars" theorem in combinatorics
  • Learn about combinations and permutations in discrete mathematics
  • Explore more complex distribution problems involving multiple categories
  • Practice solving similar problems using combinatorial techniques
USEFUL FOR

Mathematicians, students studying combinatorics, educators teaching discrete mathematics, and anyone interested in solving distribution problems.

coldcell
Messages
9
Reaction score
0
The doughnut shop has 5 kinds of doughnuts: a, b, c,d and e. There are unlimited supply of each kind. In how many ways can you order a dozen doughnuts?


Well, my first instict is to simply 5^12. But then I realize aaaab is the same as baaaa... hence the order doesn't matter.

I'm trying to do it by cases:

Case 1: one daughnuts only.

(5 C 1) x 1 = 5 ways

Case 2: two daughnuts only.

(5 C 2) x 13 = 130
But this include one daughnuts, so its 130-5 = 125.

The problem starts here. I don't know why the arrangements for 2 daughnuts is 13. I got it by simply listing out all the cases.

Then I tried using simpler problems, like let's say you want to buy 5 daughnuts out of 3 different daughnuts. I can find out the number of ways for this one, but I see no relation if let's say you want to buy 6 daughnuts.

I sat down for 2 hours and still couldn't figure it out :(

My last bet is 13^4... but that's a wild guess. Help is appreciated.
 
Physics news on Phys.org
Here's a big hint:

You've got 5 labeled boxes (call them boxes 1,2,3,4,5), one for each type of doughnut. You want to fill these 5 boxes with 12 doughnuts, any number per box.

Here's how I'm going to represent the boxes:

1 | 2 | 3 | 4 | 5

We now have to distribute 12 doughnuts among these boxes. One such distribution might look like the following (I'm hiding the box numbers and representing doughnuts by circles) :

oo|ooo|o|ooooo|o

The answer we are looking for is hence nothing but the number of ways of arranging these 12 circles and 4 lines in different patterns. Can you think of a way to count these? Can you then generalize the problem to n doughnuts and k boxes (or k types)?
 
Darn I should have thought about grouping the donuts together... how dumb am I :(

So it's simply 16 C 4, or 16!/(4!12!) since there are 16 items, 4 alike, 12 alike.

That hint is REALLY big. THANKS!
 
Okay, I'll make it smaller next time.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
3
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
7
Views
5K