2024 AIME I Problems/Problem 11
Notice that the question's condition mandates all blues to go to reds, but reds do not necessarily have to go to blue. Let us do casework on how many blues there are.
If there are no blues whatsoever, there is only one case. This case is valid, as all of the (zero) blues have gone to reds. (One could also view it as: the location of all the blues now were not previously red.) Thus, we have .
If there is a single blue somewhere, there are cases - where can the blue be? Each of these is valid.
If there are two blues, again, every case is valid, and there are cases.
If there are three blues, every case is again valid; there are such cases.
The case with four blues is trickier. Let us look at all possible subcases.
If all four are adjacent (as in the diagram below), it is obvious: we can simply reverse the diagram (rotate it by units) to achieve the problem's condition. There are possible ways to have adjacent blues, so this subcase contributes .
If three are adjacent and one is one away (as shown in the diagram below), we can not rotate the diagram to satisfy the question. This subcase does not work.
If three are adjacent and one is two away, obviously it is not possible as there is nowhere for the three adjacent blues to go.
If there are two adjacent pairs that are apart, it is not possible since we do not have anywhere to put the two pairs.
If there are two adjacent pairs that are apart, all of these cases are possible as we can rotate the diagram by vertices to work. There are of these cases.
If there is one adjacent pair and there are two separate ones each a distance of from the other, this case does not work.
If we have one adjacent pair and two separate ones that are away from each other, we can flip the diagram by vertices. There are of these cases.
Finally, if the red and blues alternate, we can simply shift the diagram by a single vertex to satisfy the question. Thus, all of these cases work, and we have subcases.
There can not be more than blues, so we are done.
Our total is . There are possible colorings, so we have and our answer is .