You are not logged in.
The Rosen's book, problem 5.5 #50:
How many ways are there to distribute 5 distinguishable objects into 3 indistinguishable bins?
One approach to such problems I know is to imagine distinguishable objects as a long box with compartments, indistinguishable objects as balls and by looking at the balls and separators between compartments we are getting a string of "O" and "l" which can be permuted and that would be the answer...
The only problem here is that as far as I understand this approach, it works perfectly well if number of indistinguishable objects are greater than number of distinguishable. But if number of distinguishable is greater (like in the problem) I am getting strings like:
Another, more promising, approach is to just make a list from letters and separators: "abcde||", "abcd|e|", etc. That would accurately represent distinguishable objects and distinguishable bins. But the original problem states that bins should be indistinguishable, so "abcde||" == "|abcde|" == "||abcde"...
.....hmm....
The process of writing this topic gave me an idea. If we define objects as O and bins as B, then to get the answer it should be enough to count the number of permutations of the string (
Offline
No, the answer is not so simple.
"abcde||" == "|abcde|" == "||abcde" == "acdeb||" == "ecbad||" == etc...
All permutations of objects inside one bin should be treated as the same combination.
The number of combinations where all objects are inside one of the bins is
But how to squeeze all that in one nice formula???
Offline
Hi White_Owl;
I am getting 41 ways to put 5 distinguishable objects into 3 indistinguishable bins.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Edit: Corrected a really silly error . . . *blush*
.
Last edited by soroban (2010-03-23 05:13:38)
Offline
Hi;
Here is how I get 41:
First the number of ways to distribute 5 distinguishable objects into 3 indistinguishable bins.
http://2000clicks.com/MathHelp/Counting … Boxes.aspx
http://webcache.googleusercontent.com/s … l=en&gl=us
The answer is the sum of the stirling numbers of the second kind.
They are computed like this:
To distribute n distinguishable objects into k indistinguishable bins.
It can also be done by using the tables provided in the links
stirling2(5,1) + stirling2(5,2) + stirling2(5,3) = 1 + 15 + 25 = 41
By direct count, distribute a,b,c,d,e into 1,2 and 3 bins.
1 + 15 + 25 = 41
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Here is how I get 41:
To distribute n distinguishable objects into k indistinguishable bins.
Wow! Now I would need another week to decipher it.
Thank you.
Offline
soroban, Sorry, you made two mistakes:
And here you forgot the very first case with all objects together. So the final summation should be
Offline
Hi White_Owl;
Now I would need another week to decipher it.
It is just the sum of the stirling numbers of the second kind. Actually soroban did a really nice job on this problem.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
It is just the sum of the stirling numbers of the second kind.
The problem with "stirling number of the second kind" is that I did not read about them yet
Actually soroban did a really nice job on this problem.
Yes, he sure did.
Offline
Ok... I finished the chapter 5.5 and at the end of it I found the description of this formula. So I tried to do a manual calculation and received -41 (negative 41)... After a while I realized that I made a mistake in writing formula down and replaced the i with j in one place (powered -1 before the binom).
But now I have an interesting equality:
Offline
Hi;
I am not getting that as an identity yet, because when you try
You get:
8,-8
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Ok, then how about this one?
Offline
Hi White_Owl;
Not yet:
n = 5, k = 4 yields 151 / 3 for the LHS and 51 for the RHS.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
As a general principle in mathematics, if your formula is off for one number, it is probably off for infinitely many others.
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline