i have 8 pieces of lemon candy and 7 pieces of watermelon candy. in how many ways can i distribute this candy to four students

Guest Dec 30, 2019

#1**+1 **

First, notice that if all the candies were different, it would simply be 4^15 (4 possible kids for each candy). If all the candies were the same, it would be (4 multichoose 15). This problem is something in between.

The answer is (4 multichoose 8) * (4 multichoose 7) = C(11,8)*C(10,7) = C(11,3)*C(10,3) = 19800

Guest Dec 30, 2019

#2**+1 **

i have 8 pieces of lemon candy and 7 pieces of watermelon candy. in how many ways can i distribute this candy to four students

Assuming each student is counted as and individual then I think

(8+4-1)C3 * (7+4-1)C3

=11C3 * 10C3

=165 * 120

=19,800

I did mine using stars and bars method.

Our answers are the same which is a good sign but they could both be wrong.

Melody Dec 31, 2019