2021 AMC 10 A Problem 25
One Page to Learn. One Point to Earn.
In This Page:
To help you master 2021 AMC 10 A Problem 25, this page includes:
- The original AMC problem to try, plus the correct answer
- Clear, step-by-step solutions using different methods
- Key ideas, useful formulas, and takeaways you can apply to similar problems
- Related problems from past AMC exams, plus new practice problems that build the same skills
Want more practice? Scroll down to download Think Academy’s AMC 10 practice packs and keep building your AMC 10 A skills.
2021 AMC10 A Problem 25
25.
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
Checkerboard Parity Method
By coloring the grid like a checkerboard, we see that the center square touches all four edge-centers. This completely bans the center’s color from the edge-centers, forcing a rigid placement that simplifies the rest of the grid.
When a grid has a rule against adjacent elements, divide the squares into a checkerboard pattern. Squares of the same color (black or white) never share an edge.
Step 1: Identify the independence of squares using a checkerboard
Imagine the grid colored like a checkerboard. The center square and the 4 corners are Black (5 squares). The 4 edge-centers are White (4 squares). The adjacency rule means no two chips of the same color can occupy adjacent squares.
Step 2: Determine the placement of the center’s color
Notice that all 4 White squares (the edge-centers) share an edge with the center square. Therefore, whatever color is placed in the center CANNOT be placed in any White square. Since each color has exactly 3 chips, the color in the center must place all 3 of its chips on the Black squares. One chip is in the center, so the remaining 2 chips of that color must go into the 4 corners.
Step 3: Analyze the remaining corners when the center is Red (Case 1: Opposite)
Assume the center is Red. There are two geometric ways to place the remaining 2 Reds in the corners. First, the Reds can be in opposite corners (e.g., Top-Left and Bottom-Right). This can be done in 2 ways. The other 2 corners must be Blue and Green. If both were Blue, then all 4 White squares would touch a Blue corner, leaving nowhere for the third Blue chip. Thus, they must be different colors (2 ways to assign Blue and Green). The remaining 2 Blue and 2 Green chips must go into the 4 White squares. To avoid touching their own color in the corners, their positions are uniquely forced (1 way). This gives valid grids.
Step 4: Analyze the remaining corners when the center is Red (Case 2: Adjacent)
Second, the Reds can be in adjacent corners (e.g., Top-Left and Top-Right). This can be chosen in 4 ways. The other 2 corners (Bottom-Left and Bottom-Right) must be the same color. If one were Blue and one Green, both colors would need two White squares, but they both share the Bottom-Center square as a neighbor, meaning neither could go there. This would leave only 3 valid White squares for 4 chips, which is impossible. So, the two corners must both be Blue or both be Green (2 ways). This uniquely forces the placement of the remaining chips (1 way). This gives valid grids.
Step 5: Calculate the total number of valid grids
Adding the cases together, there are valid arrangements if Red is in the center. Because the center can be Red, Blue, or Green, we multiply the result by 3.
The total number of valid placements is 36, which corresponds to answer choice E. We can verify the logic by noticing that every placement exactly mirrors the strict bipartite nature of the grid without overlaps.
Row and Column Pattern Classification
Every valid row must either contain 3 different colors () or alternate 2 colors (). By proving that these row types cannot be mixed, we can exhaustively count the grids as Latin squares or striped patterns.
A Latin square of order is an grid filled with different symbols, where each symbol appears exactly once in each row and column.
Step 1: Classify the possible row types
Because adjacent squares cannot be the same color, a row cannot contain adjacent duplicates. A row must either have 3 distinct colors (e.g., Red-Blue-Green, which we call an row) or 2 distinct colors alternating (e.g., Red-Blue-Red, which we call an row).
Step 2: Prove that row types cannot be mixed
An row contains exactly 1 Green. If a grid had exactly two rows, those rows would use at most 2 Greens. The third row, being an row, can hold at most 0 or 2 Greens, but no combination properly accounts for all 3 chips of all 3 colors without violating adjacency. Thus, the grid must consist entirely of rows, or entirely of rows.
Step 3: Count grids with entirely A-B-C rows (Latin Squares)
If all rows are , the grid must be a Latin square. There are ways to color the first row. For each choice, there are exactly 2 valid ways to complete the remaining two rows without vertical clashes. This yields 12 grids.
Step 4: Count grids with entirely A-B-A rows (Row-Striped)
In an row, one color appears twice (the majority) and another appears once (the minority). To use exactly 3 chips of each color across the whole grid, the 3 rows must have different majority colors (say ) and different minority colors (). There are ways to assign the sequence of majorities to the 3 rows. For the rows to be valid, the minority color cannot equal the majority color (). This means the sequence of minorities must be a derangement of the majorities. There are exactly 2 derangements of 3 items. Because the and sequences are permutations, vertical adjacencies are automatically avoided (e.g., ). This yields 12 grids.
Step 5: Count grids with A-B-A columns (Column-Striped) and sum
By transposing the row-striped grids, we get grids where the columns are and the rows are . By symmetry, there are 12 of these grids. These three cases (Latin squares, row-striped, column-striped) are mutually exclusive and collectively exhaustive.
Summing the mutually exclusive structural cases gives . Both distinct mathematical models (checkerboard spatial logic vs. row-parity combinatorics) confidently arrive at 36. This matches option E.
Similar Problems in Real Exams
The following five AMC 10 A problems are closely related to AMC 10 A 2021 Question 25. These real AMC 10 A problems test the same key concept—Combinatorics. Click any problem to learn and practice, then continue to the adapted practice section later in this article for more problems to try.
2023 AMC 10 A Problem 20
2022 AMC 10 A Problem 9
2025 AMC 10 A Problem 8
2025 AMC 10 A Problem 12
2025 AMC 10 A Problem 21
Adapted Problems to Practice
What Formulas Do You Need for This Problem?
- Checkerboard Bipartite Coloring:
When a grid problem restricts adjacent items, imagine coloring the grid in an alternating black-and-white checkerboard pattern. Squares of the same color never share an edge, breaking the grid into two independent sets.
Applies to square grids where moves or restrictions happen strictly horizontally and vertically. By noticing that the center square is black and its 4 adjacent neighbors are all white, we instantly proved that the center color could not be placed on any of those 4 white squares.
- Derangements:
A derangement is a permutation of the elements of a set such that no element appears in its original position. For a set of 3 elements, there are exactly 2 derangements.
Useful when pairing items from two identical sets such that no item pairs with its exact counterpart. In Method 2, matching a minority color to a majority color in a row required that they not be the same color, meaning the minority sequence had to be a derangement of the majority sequence.
Key Takeaway: Remember This Strategy for Next Time
When a problem involves placing items on a grid with rules against adjacent sharing.
Try: Try coloring the grid like a checkerboard. Look for squares that touch a disproportionate number of opposite-colored squares, such as the center of a grid.
Why: Checkerboard coloring translates spatial rules into discrete sets. It reveals hidden 'bottlenecks'—like the center square blocking out all 4 edge-centers at once.
When you must distribute exactly copies of several items across rows or groups.
Try: Analyze the 'parity' or 'counts' possible in a single row, then check if those counts can sum to the global total.
Why: It forces disjoint global patterns (like having 0 alternating rows vs. having 3 alternating rows) because intermediate combinations mathematically cannot sum to the required total.
Unlock More Targeted AMC 10 Practice Resource
Build Stronger Skills. Practice with Purpose. Prepare with Confidence.
Get a complete set of module-focused AMC 10 practice workbooks designed to help students strengthen core concepts, improve problem-solving strategies, and feel more confident on test day.
With 250+ practice problems organized across six essential AMC 10 modules, students can focus on one skill area at a time and learn from clear, step-by-step solutions.

Download the Free AMC 10 Practice Resource Pack
Inside, You’ll Find:
- 6 module-focused practice workbooks: Algebra, Geometry, Number Theory, Combinatorics, and Probability & Statistics.
- 250+ AMC 10-style practice problems covering essential concepts and common competition question types.
- Complete answer keys and step-by-step solutions to help students understand the reasoning behind each answer.
- Organized, print-ready materials for independent study, guided practice, or extra preparation at home.
Get Instant Access: Fill out the form below to receive our exclusive resource pack.
*Please enter a valid email address to access the materials and receive future prep updates.
About Think Academy
Think Academy US Online, part of TAL Education Group (NYSE: TAL), provides structured math and ELA programs that help students build strong academic foundations and grow with confidence. With expert teachers, proven methods, and innovative AI tools, we nurture learning ability, curiosity, and healthy study habits that support long-term growth and a lifelong love of learning.
Check our programs:
- Think Kids: Ages 3-5
- Math
- Lower Elementary Math — Grades 1–2
- Upper Elementary Math — Grades 3–5
- Middle School Math — Grade 6–8
- High School Math — Grade 9-12
- ELA
- Elementary ELA — Grades 2–5
Want more insights on Math & ELA learning and parenting? Fill out the form on this page and subscribe to our newsletter for weekly tips and the latest resources. Join 100,000+ families in our Parent Community!














