Ask your own question, for FREE!
Mathematics 16 Online
OpenStudy (anonymous):

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?

Mehek (mehek14):

I know they get 2 pieces of strawberry candy

OpenStudy (anonymous):

@Mehek14 why? it doesn't say evenly..

Mehek (mehek14):

oh ok

OpenStudy (anonymous):

It is NOT evenly.

OpenStudy (anonymous):

what class is this for?

Mehek (mehek14):

are there any optionsZ

OpenStudy (anonymous):

Probability. And no there are no options.

OpenStudy (anonymous):

does each kid get at least 1 piece of candy?

OpenStudy (anonymous):

I think I figured it out now.

OpenStudy (anonymous):

what is it?

OpenStudy (anonymous):

19800 ways of distributing the candy.

OpenStudy (anonymous):

hmm ok, how did you get that answer if you dont mind?

OpenStudy (anonymous):

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.

OpenStudy (anonymous):

interesting, ty for that :)

OpenStudy (anonymous):

It's correct!

OpenStudy (anonymous):

:)

OpenStudy (anonymous):

nice :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!