I have a set of six plastic bowls I use to serve food to my three-year-old twins:
They are mostly white, with different colored trim: Two are blue, two are pink, and two are green.
How many ways can these six bowls be stacked so that no two bowls of the same color are touching each other? (One such way is pictured above.)
Details/assumptions:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This solution is not elegant but since I've waited for a few days and no solutions are posted, I will present mine:
We will represent an arrangement as symbols going from left to right, being the same as going from bottom to top for the bowls
We will count the number of "arrangement structures" we could have. To see what I mean, we let X , O , L be indicators of the same color. Then we fix X as our beginning "color", finally we will casework with the number of colors between the two X 's.
When we have 1 color, there's only one when to avoid adjacent colors: X O X L O L
For 2 colors we have two: X O L X O L , X O L X L O
3 colors we have one: X O L O X L
4 colors we have one: X O L O L X
This gives us 5 structures in total. Since there's 3 ∗ 2 = 6 ways to assign colors to these indicators, our answer would be 5 ∗ 6 = 3 0