Combinatorics help: stars and bars and beyond

  • Thread starter Thread starter Regina Fillange
  • Start date Start date
  • Tags Tags
    Combinatorics Stars
AI Thread Summary
The discussion focuses on distributing m distinguishable toys and k identical candy bars among 12 children under various conditions. Participants express confidence in the solutions for parts a and b, while struggling with parts c, d, and e. There is debate over the interpretation of constraints, particularly regarding whether each child must receive a toy or candy and how many items can be distributed. Suggestions include breaking down the problems into stages and considering the implications of the constraints on distribution. Overall, clarity on the problem's wording is essential for accurate solutions.
Regina Fillange
Messages
1
Reaction score
0
Member warned about not using the homework template
We have to distribute m distinguishable toys, k identical candy bars to 12 children in the following ways:

a. How many ways can we distribute toys if each child can get any number of toys?
b. How many ways can we distribute candy if each child can get any number of candy bars?
c. How many ways can we distribute the (identical) candy bars if each child can get at most 1 and k<12
d. How many ways can we distribute (distinct) toys if each child can get at most 1 and m>12 (extra toys are saved for next year)
e. If m=15 and k=9 how many ways can we distribute the objects if each child gets exactly 2 goodies.

Parts a and b I feel confident about (I got 12^m for part a and C(k+11, k) for part b).

Part c I tried doing by cases, such as 11 children can have 0 or 1, then 10 children can have 0 or 1 etc. So I figured it would be 2^11

Parts d and e I truly feel lost on and have scoured the internet for different methods and haven't felt confident about anything I've read! Thank you for any starting hints or tips.
 
Physics news on Phys.org
Regina Fillange said:
Part c I tried doing by cases, such as 11 children can have 0 or 1, then 10 children can have 0 or 1 etc. So I figured it would be 2^11
We have to distribute all k, yes? Given that you solved a and b, you must be overthinking c.
For d, how many toys will be distributed? Break it into two stages correspondingly.
For e, separate the distribution of toys from that of candies.
 
a) and b) look good.

c) For sure your answer should involve k somehow. Unless we're holding back some of the candy, as haruspex checks, how many children get candy?
d) I'm assuming that every child gets a toy.
e) Since m+k=24, exactly the number of gifts required, how many options are there for the candy after the toys are distributed?
Alternative e) Is there perhaps a specification that each child must get a toy as one of the gifts?
 
Joffan said:
d) I'm assuming that every child gets a toy.
Why do you assume that? It says at most 1.
 
Joffan said:
d) I'm assuming that every child gets a toy.

haruspex said:
Why do you assume that? It says at most 1.

Well, OK. You could answer it that way too... but in c) we both assumed we kept on giving until we hit the constraints.
 
Joffan said:
Well, OK. You could answer it that way too... but in c) we both assumed we kept on giving until we hit the constraints.
Yes, and with reason:
Regina Fillange said:
c) ...distribute the ... candy bars

Regina Fillange said:
d) ... distribute ... toys
Note the definite article in c).
 
Last edited:
Hmm, well firstly, it still says "at most 1" in (c), and secondly, does that mean Regina's answers to (a) and (b) are wrong - that as well as the children there is effectively also a box for ungifted items?

By contrast, the opening sentence starts "We have to distribute m distinguishable toys, k identical candy bars to 12 children..."

Jeez, who knew writing a problem was so hard? :-)
 
Joffan said:
Hmm, well firstly, it still says "at most 1" in (c),
So? k < 12 here, so it is always possible to distribute them all.
Joffan said:
secondly, does that mean Regina's answers to (a) and (b) are wrong - that as well as the children there is effectively also a box for ungifted items?
Excellent point. I believe you are right - Regina's answers to a) and b) are wrong.
Joffan said:
the opening sentence starts "We have to distribute m distinguishable toys, k identical candy bars to 12 children..."
True, but I would take the individual instructions as more reliable. E.g. in d) it specifically states that not all need to be distributed.
 
Back
Top