A k-element selection, repetitions allowed, with a twist

  • Thread starter Thread starter dumbQuestion
  • Start date Start date
AI Thread Summary
The discussion revolves around a combinatorial problem involving selecting balls from piles with limited quantities. The original scenario allows for the use of the formula C(k+t-1,t-1) when each pile has sufficient balls, but complications arise when one pile has fewer balls than needed. Participants suggest that when dealing with limited sets, the approach must be adjusted, often requiring specific conditions like ensuring at least one ball from each color. The conversation emphasizes the importance of defining constraints and considering the total number of available balls when calculating combinations. Ultimately, the problem highlights the need for a tailored approach in combinatorial selection when faced with restrictions.
dumbQuestion
Messages
124
Reaction score
0
Hey I have kind of a general question.

In my textbook, there are lots of questions that go something like this:

"Say we have 3 piles of balls, a blue pile, a red pile, and a yellow pile. Each pile has at least 8 balls. How many ways can we pick 8 balls from these three piles?"

(so for example in this case you could pick YYYYYYYY or BYYRRRRR, etc.)

In this case we use C(k+t-1,t-1) formula

But I'm stumped on ideas like this:

What if I take the above scenario, but this time the "blue pile" has only 2 balls, while the rest have 8. And I'd still like to pick 8 balls. I can't use the formula like normal because there are less options: for example BBBYYRRR isn't an answer as there are only 2 blue balls in the pile. Now let me go even further and say, there are only 2 blue balls, and only 3 red balls and only 4 yellow balls and I want to make a selection of 8 balls. I am completely stumped as to how to do this as I can't apply the normal formulas.

So I guess, is there a formula for when one of your sets is "limited"? Every single problem in the book the example is to make a k-element selection but the "sets" you are choosing from always have at least k elements in their set so you don't run into this problem.This is NOT a HW problem, this is just something I keep trying to figure out on my own. I am really, really poor at combination/permutation stuff so there is most likely a very easy answer to this I'm just not seeing.
 
Physics news on Phys.org
In that case you have to count them out rather than use the formula.

If you don't care which colors are included, then it is just the number of ways of picking eight balls from 8+8+2 balls. For anything else you need to be specific - eg: perhaps you must have at least one ball of each color?

In that case, you are selecting from 7+7+1 balls in five trials (the first three are certain).
Does the order matter? Stuff like that. But you should have got an idea how to think about these now.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top