is the number of ways to select items from a variety of different kinds (each kind has at least available items).
the problem is that suppose i have n distinct balls(or anything) in a box..i have to take r samples ...i.e i have to pick r balls out of those n one by one ...now there are four cases
1.i take the the mth ball without replacing the previous m-1 balls and the sequence in which i take the balls matters
2.same as one but here the sequence doesnot matter
3. i replace the previously taken balls before picking out the next one and the sequence in which they come out matters
4.same as 3 but the sequence doesnot matter
problem is that in each case in how many possible ways the balls can be organized ...or we can say that in each case how many elements are there in sample space ....
now first three cases i have a general solution for them and i understand them ...but in case of 4th i know the answer but dont know how it came up
..the ans is
They have a special on, a plate of five scoops of any and all flavors.
For example: I would order two scoops of chocolate, two scoops of vanilla and one of strawberry.
How many different selections are possible?
This is known as multi-selections select K items from N difference possibilities.
If we want to know the number of way to put K identical objects into N different cells that can be modeled using K o’s and N-1 ‘|’.
For example: put five identical balls into three named cells.
This model says put one ball in the A cell, three in the B cell and one in the C cell.
This model says put four balls in the A cell, none in the B cell and one in the C cell.
So any rearrangement of the string represents one way to put those five identical balls into three different cells.
The number of ways to rearrange that string is .
To generalize, the number of ways to put K identical objects into N different cells is