Cups Problem (Combinations)

Working
image

Not working (But could if you moved things around)
image

Not working (Could if you moved stuff around)
image

Working (Almost said it didn't work on the spreadsheet)
image
 
You didn't intend all four pictures to be the same, did you? Try correcting that.

But examples aren't enough. Please state the rules clearly, with no asterisks, as I've requested.
 
You didn't intend all four pictures to be the same, did you? Try correcting that.

But examples aren't enough. Please state the rules clearly, with no asterisks, as I've requested.
On my computer, the four examples show up differently.
IMG_20190724_121332.jpg


Also here is a more clarified ruleset (I hope this is less confusing and more explanatory)

Pattern Rules

  1. The middle spot must contain either nothing, one gray cup, or a gray or yellow cup with a gray cup on top
  2. The other spots must contain either nothing, one yellow cup, or a gray or yellow cup with a yellow cup on top
  3. Each row across must be symmetrical by height (0 cups, 1 cup, 2 cups). This means that the color of a cup underneath a yellow or gray cup is not required to be symmetrical with the other side.
 
Okay. And I assume I'm right that what you want to count is the number of sets of up to 30 cups that can be arranged according to these rules.

Before we can find the probability of being able to arrange a random set, in addition to this count we will need to figure out the probability distribution of the sets of cups themselves. I've suggested that each of the (2+31)*30/2 = 495 possible sets in your list might be equally likely, making that your denominator; but I don't know that. How is a set of cups being formed? Are you randomly picking a number of cups to use, and then randomly picking out one cup at a time from a collection of 30 of each color? Or what? If this is a real-life question, that may turn out to be the hardest part.

But getting back to the counting, my next idea would be to make a big 31 by 31 grid, so that the nth cell in the mth row (each numbered from 0 through 30) represents a set with m gray and n yellow cups, and start marking cells as possible or not, and recording the reasons for each. Each case (like those in your earlier list) will let you fill in a lot of cells at once, and eventually you may have just a few left to figure out individually. This will go a lot faster than what you've been doing with your spreadsheet, even though it is essentially the same idea, because you can see everything at once and quickly fill in related cases. You may even find a bigger pattern that could make it possible to come up with a formula, though I doubt it.

(By the way, this grid would allow up to 60 cups, so all cells below a diagonal will be empty. Probably cell (0,0) would also be empty. This leaves 31*32/2 - 1 = 495 valid cells.)

By the way, I wonder if anyone can figure out why you would see your pictures in post #21 differently than I do? That may be a bug in the software.
 
Okay. And I assume I'm right that what you want to count is the number of sets of up to 30 cups that can be arranged according to these rules.

Before we can find the probability of being able to arrange a random set, in addition to this count we will need to figure out the probability distribution of the sets of cups themselves. I've suggested that each of the (2+31)*30/2 = 495 possible sets in your list might be equally likely, making that your denominator; but I don't know that. How is a set of cups being formed? Are you randomly picking a number of cups to use, and then randomly picking out one cup at a time from a collection of 30 of each color? Or what? If this is a real-life question, that may turn out to be the hardest part.

But getting back to the counting, my next idea would be to make a big 31 by 31 grid, so that the nth cell in the mth row (each numbered from 0 through 30) represents a set with m gray and n yellow cups, and start marking cells as possible or not, and recording the reasons for each. Each case (like those in your earlier list) will let you fill in a lot of cells at once, and eventually you may have just a few left to figure out individually. This will go a lot faster than what you've been doing with your spreadsheet, even though it is essentially the same idea, because you can see everything at once and quickly fill in related cases. You may even find a bigger pattern that could make it possible to come up with a formula, though I doubt it.

(By the way, this grid would allow up to 60 cups, so all cells below a diagonal will be empty. Probably cell (0,0) would also be empty. This leaves 31*32/2 - 1 = 495 valid cells.)

By the way, I wonder if anyone can figure out why you would see your pictures in post #21 differently than I do? That may be a bug in the software.
That's a great idea! Thank you for all of your help!
 
… I wonder if anyone can figure out why you would see your pictures in post #21 differently than I do …
If you click reply on that post and 'Toggle BB Code' to display all tags, then you'll see that the four image URLs are identical, except for a google docs parameter &rev=XXX. I don't know what those three-digit numbers do.

\(\;\)
 
If you click reply on that post and 'Toggle BB Code' to display all tags, then you'll see that the four image URLs are identical, except for a google docs parameter &rev=XXX. I don't know what those three-digit numbers do.

\(\;\)
I think I just figured out why they're the same for you. I changed the same image each time, so it's probably just showing you the current image after all of the changes
 
Top