Currently designing a poker analysis program, and for the purposes of optimization, I have 2 questions with regards to distinguishable subsets. In the spirit of the earlier post, I am going to use marbles.
I have a bag of 39 marbles with 5 different colors:
1 black marble
1 white marble
7 red marbles
9 green marbles
21 yellow marbles
Question #1: If I pick 10 marbles from this bag, how many distinguishable 10-marble subsets are there? (of course, marbles of a given color are indistinguishable)
Question #2: Assuming I have enumerated and partitioned this set into all of the possible, distinguishable 10-marble subsets, now I want to know the cardinality of each of those distingushable subsets. For example, in the 10-marble partition containing 1 black, 2 red and 7 yellow, how many members are in the 1black-2red-7yellow partition?
Of course, I am not looking for the specific answers, but what I presume to be summation formulas to these two questions.
Linus

