Suppose 4 kids have boxes and there are 5 balls we plan to put in the boxes. How many ways can we put balls in the boxes?u

Printable View

- November 8th 2007, 02:43 PMchadlyterCombination or permutation
Suppose 4 kids have boxes and there are 5 balls we plan to put in the boxes. How many ways can we put balls in the boxes?u

- November 8th 2007, 02:59 PMgalactus
If I am understanding correctly. You are placing 5 identical balls into 4 different boxes?.

There are C(5+4-1,5)=C(8,5) ways to do that.

If the balls are distinct, then 4^5 ways. - November 9th 2007, 05:12 AMchadlyterAlways true?
Will this always be true, like (n + m -1, n) and I have another problem that reads like this so I think it is 18 choose 15 but not quite sure, FInd the number of ways of assigning 15 distinct paintings to 18 different dormitories so that no dormitory receives more than one painting.

- November 9th 2007, 08:49 AMPlato
No, there is no such generalization as ‘always true’!

is the number of ways to put m identical object into n different cells.

The number of ways of assigning 15 distinct paintings to 18 different dormitories so that no dormitory receives more than one painting is the count of the number of one-to-one functions from a set of 15 to a set of 18: . - November 13th 2007, 11:01 AMchadlyterExplanation
Why does this m + n -1, m work and what does the minus one represent. I just would like to understand the meaning behind all of this working?

- November 13th 2007, 11:15 AMPlato
Here you can read about it.