2021 AMC 10A Problems/Problem 25
Problem
How many ways are there to place
indistinguishable red chips,
indistinguishable blue chips, and
indistinguishable green chips in the squares of a
grid so that no two chips of the same color are directly adjacent to each other, either vertically or horizontally?
Solution 1 (Casework on the Center's Color Chip's Configurations)
Call the different colors A,B,C. There are
ways to rearrange these colors to these three letters, so
must be multiplied after the letters are permuted in the grid.
WLOG assume that A is in the center.
In this configuration, there are two cases, either all the A's lie on the same diagonal:
or all the other two A's are on adjacent corners:
In the first case there are two ways to order them since there are two diagonals, and in the second case there are four ways to order them since there are four pairs of adjacent corners.
In each case there is only one way to put the three B's and the three C's as shown in the diagrams.
This means that there are
ways to arrange A,B, and C in the grid, and there are
ways to rearrange the colors. Therefore, there are
ways in total, which is
.
-happykeeper
Solution 2 (Casework on the Top-Center and Center-Left Chips)
Without the loss of generality, we fix the top-left square with a red chip. We apply casework to its two adjacent chips:
Case (1): The top-center and center-left chips have different colors.
There are three subcases for Case (1):
As there are
permutations of the three colors, each subcase has
ways. So, Case (1) has
ways in total.
Case (2): The top-center and center-left chips have the same color.
There are three subcases for Case (2):
As there are
permutations of the three colors, each subcase has
ways. So, Case (2) has
ways in total.
Answer
Together, the answer is
~MRENTHUSIASM
Solution 3 (Casework on the Red Chips' Configurations)
We consider all possible configurations of the red chips for which rotations matter:
As there are
permutations of blue and green for each configuration, the answer is
~MRENTHUSIASM (credit given to FlameKhoEmberish)
Solution 4 (Focusing On Top 2 Rows)
We will first count the colorings where if the top two rows are filled out, the grid is uniquely determined. This will only happen if there are
cells of one color,
cells of another color, and
cell of the remaining color in the top
x
grid made up of cells
. With this, we are left with two tokens of one color and one token of another color for the bottom row, so there must only be
way to fill it up since the two tokens of the same color can't be next to each other. This makes the grid uniquely determined.
The
cells with the same color can either be cells
or
If we choose
the two cells with the same color must be cells
and
and cell
must be the cell of the other color. If we choose
the two cells with the same color must be cells
and
and cell
must be the cell of the other color. So there are
ways to choose which cells share
colors and
way to choose which cells share
and
color. There are
ways to assign colors to the cells. We have a total of
colorings for this case. An example coloring is shown below with cells
being chosen for the
cells of the same color.
Now, what about the colorings where even if the top two rows are filled out, the grid is still not uniquely determined? In other words, what about the colorings where even if we fill in the top two rows, there is still more than one possible color combination for the last row?
In this case, the
x
grid made up of the top two rows would have to use two tokens of each color, and the second row would be some permutation of the colors blue, red, green. Then for the last row, we would be left with one token of each color.
There are
ways to permute the second row. WLOG, say we fill the second row of the grid so that cell
is red, cell
is blue, and cell
is green. Then cells
can be green, red, blue or blue, green, red, respectively. Finally, cells
can also either be green, red, blue or blue, green, red, respectively. This gives us
colorings.
Our final answer is
.
Solution 5 (Casework and Symmetry)
![]()
There are
choices for
,
choices for
.
on the down left corner can be switched with
on the upper right corner.
![]()
There are
choices for
,
choices for
.
![]()
Note that
is a
° rotation of
.
![]()
Note that
is a
° rotation of
.
Therefore, the answer is
.
Solution 6 (Casework and Derangements)
Case (1): We have a permutation of R, B, and G as all of the rows. There are
ways to rearrange these three colors. After finishing the first row, we move onto the second. Notice how the second row must be a derangement of the first one. By the derangement formula,
, so there are two possible permutations of the second row. (Note: You could have also found the number of derangements of PIE). Finally, there are
possible permutations for the last row. Thus, there are
possibilities.
Case (2): All of the rows have two chips that are the same color and one that is different. There are obviously
possible configurations for the first row,
for the second, and
for the third. Thus, there are
possibilities.
Therefore, our answer is
~michaelchang1
Solution 7 (Rush, Use if you have less than 5 minutes)
Ignore the center piece. Notice that when you place 3 of the chips, there are
ways, making it inevitable for
ways left for the other 2, so
multiply
is
. Now, notice there are
ways to place a center piece, so our final statement is
~hashbrown2009
Solution 8 (Casework Using the Center and Surrounding)
There are 3 indistinguishable red chips, 3 indistinguishable blue chips, and 3 indistinguishable green chips. Let's label the red chips R, the blue chips B, and the green chips G.
WLOG, let's assume that the chip in the middle of the array is R.
For the convenience of our proof, we will replace the question marks as follows.
Doing this helps us easily identify where to place a certain chip. For example, if I want to place a green chip in the top leftmost square, I'd say, "Place a green chip in position 1."
Now that we've assumed the center square is occupied by a red (R) chip, notice that the chips in positions
can only be blue or green. With the information we now know, we can break the problem into cases based off of the number of a certain color of chip in the positions
.
Case 1 (2 consecutive blue, 2 consecutive green): An example case to show you what this means is shown below.
There are
ways to figure out where the two blue and two green chips are placed. Notice that after I've placed the two blue, two green, and one red chip, the rest of the chips are in fixed places (try it!). Now we only need to worry about what color the center chip is.
There are 3 ways to choose the color for the center chip, and afterwards, there are only two colors left for the two kinds of chips in positions
and
, and there are two of each, so there is no need to worry about the color of those chips.
In conclusion, there are
ways to arrange the chips in this case.
Case 2 (3 blue, 1 green OR 3 green, 1 blue): An example case to show you what this means is shown below.
WLOG, let's first assume that there are
green chips in such a position, and only
blue chip. There are
ways to figure out where they are placed. Notice that after I've placed the three green, one blue, and one red chip, the rest of the chips are yet again in fixed places (try it!). Now we only need to worry about what color the center chip is and which color of chip has
in the positions of
.
There are
ways to choose the color of the center chip. After that is chosen, there are only two colors left for the two kinds of chips needed in the positions
and
. However, since this time there are a different number of each color of chip, there are now
ways to assign colors to the chips.
In conclusion, there are
ways to arrange the chips in this case.
Notice how there should be a Case 3 with cases that look like some variation of this:
There isn't, because if such an arrangement were to happen, we wouldn't be able to arrange the grid following the problem's conditions. There would either be a blue chip next to a blue chip, and/or a green chip next to a green chip.
, so the answer is
.
~ AVRILAVIGNE
Solution 9
Imagine a
grid as stated in the problem. Next, since this grid is extremely symmetric, lets assume the center square is
(red). We realize that since
is the center, the remaining
can either go in the top left square and the top right square or in the top left square and the bottom right square. Lets look at the first case. Note that the remaining
don't have in the top right and top left squares. We can rotate the board
times to find the same case. So, lets multiply the final value in this case by
. Anyways, lets find the number of ways to color the rest of the board. Upon examination we can conclude that the top center square, the bottom left square, and the bottom right square all have to be the same color, so it can either be
(blue) or
(green), so we have
choices. Thus, for this case, we have
ways to color the grid. Now, it is time for case
. Similarly, we need to multiply this case by
because we can rotate the board twice to get the same case. So, upon some examination, we find that the top right square, the bottom center square, and left center square must be all the same color, so we've got
choices. So in total we have
ways to color the grid this way. So in total, we have
ways, but remember, we have to multiply by
because we let the center square be
, so our answer is
.
-jb2015007
Simple Video Solution by grogg007 (2 cases)
https://www.youtube.com/watch?v=L5kI8cTAzyI
Video Solution (Easiest)
https://www.youtube.com/watch?v=UPUrYN1YuVA ~ MathEx
Video Solution by OmegaLearn (Symmetry, Casework, and Reflections/Rotations)
https://youtu.be/wKJ9ppI-8Ew ~ pi_is_3.14
Video Solution by The Power of Logic
https://www.youtube.com/watch?v=TEsHuvXA9Ic
Video Solution by MRENTHUSIASM (English & Chinese)
https://www.youtube.com/watch?v=_2hCBZHb3SA
~MRENTHUSIASM
See Also
| 2021 AMC 10A (Problems • Answer Key • Resources) | ||
| Preceded by Problem 24 |
Followed by Last Problem | |
| 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
| All AMC 10 Problems and Solutions | ||
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions. Error creating thumbnail: Unable to save thumbnail to destination