2022 AMC 8
Complete problem set with solutions and individual problem pages
A or is placed in each of the nine squares in a -by- grid. Shown below is a sample configuration with three s in a line.

How many configurations will have three s in a line and three s in a line?
- A.
- B.
- C.
- D.
- E.
Solution 1 (Casework)
Notice that diagonals and a vertical-horizontal pair can never work, so the only possibilities are if all lines are vertical or if all lines are horizontal. These are essentially the same, so we'll count up how many work with all lines of shapes vertical, and then multiply by at the end.
We take casework:
Case : lines: In this case, the lines would need to be of one shape and of another, so there are ways to arrange the lines and ways to pick which shape has only one line. In total, this is
Case : lines: In this case, the lines would be one line of triangles, one line of circles, and the last one can be anything that includes both shapes. There are ways to arrange the lines and ways to choose the last line. (We subtract from the last line because one arrangement of the last line is all triangles and the other arrangement of the last line is all circles, which causes Case to overlap with Case and further complicating the solution.) In total, this is
Finally, we add and multiply: .
 
Solution 2 We will only consider cases where the three identical symbols are the same column, but at the end we shall double our answer as the same holds true for rows. There are ways to choose a column with all 's and ways to choose a column with all 's. The third column can be filled in ways. Therefore, we have a total of cases. However, we overcounted the cases with complete columns of with one symbol and complete column with another symbol. This happens in cases. . However, we have to remember to double our answer, giving us ways to complete the grid.
