1998 USAMO problem #4

If two adjacent squares on an edge are different colors, they can only be made the same color (this is what they mean by "fixed") if one square is in the rectangle being inverted and one of them isn't. This is only possible if one square is a vertex of the rectangle; every rectangle has at most 4 vertices, so you need at least (number of different-colored pairs of adjacent squares)/4 rectangles, presuming every rectangle can actually fix four pairs.

But at least one rectangle has to include a corner square, because two of the corner squares are white. Let's look, say, at the bottom left square, which we'll presume to be white. This corner can be made black by a rectangle containing just the corner square (which fixes the two pairs adjacent to the corner square), a $1 \times n$ vertical rectangle (which fixes the horizontal pair containing the corner square and a vertical pair $n$ places higher), or a $1 \times n$ horizontal square (symmetrical), or an $m \times n$ rectangle (which doesn't fix the corner square, but does fix two pairs elsewhere). In no case can we fix four pairs, so our minimum is actually greater than 97.


Consider the rectangular subset of the squares used in a move. If this subset does not include squares adjacent to the border, then none of those $4\times 97$ pairs are fixed. If a corner is adjacent to a border (but not the corner of the $98\times 98$ square), then one pair is fixed. Since our rectangular subset has four corners, at most four pairs are fixed.