HELP NOW PLEASE We have 8 pieces of strawberry candy and 7 pieces of pineapple candy. In how many ways can we distribute this candy to 4 kids?
I know they get 2 pieces of strawberry candy
@Mehek14 why? it doesn't say evenly..
oh ok
It is NOT evenly.
what class is this for?
are there any optionsZ
Probability. And no there are no options.
does each kid get at least 1 piece of candy?
I think I figured it out now.
what is it?
19800 ways of distributing the candy.
hmm ok, how did you get that answer if you dont mind?
Any such distribution of the strawberry candy can be encoded in a string such as CC|CCC|C|CC of 8 copies of C along with three dividers. (The above example corresponds to giving 2, 3, 1, and 2 candies to the four children, in order.) Since we are allowed to give a child no candy if we wish, the three dividers and the 8 C's can be in any order (in particular we're allowed to have two dividers next to each other). There are then 11c3 =165 ways of arranging 8 C's and 3 |'s, and thus 165 ways of distributing the strawberry candy. Similarly, distributing the pineapple candy corresponds to arranging 7 P's and 3 |'s, so we have 10c3 = 120 ways of distributing the pineapple candy. This yields a total of 165* 120 = 19800 ways of distributing the candy.
interesting, ty for that :)
It's correct!
:)
nice :)
Join our real-time social learning platform and learn together with your friends!