2013 USAMO Problems/Problem 3
Problem
Let be a positive integer. There are marks, each with a black side and a white side, arranged into an equilateral triangle, with the biggest row containing marks. Initially, each mark has the black side up. An operation is to choose a line parallel to the sides of the triangle, and flipping all the marks on that line. A configuration is called admissible if it can be obtained from the initial configuration by performing a finite number of operations. For each admissible configuration , let denote the smallest number of operations required to obtain from the initial configuration. Find the maximum value of , where varies over all admissible configurations.
Solution
This problem needs a solution. If you have a solution for it, please help us out by adding it.
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.
Solution by inconsistent
This problem is headache-inducing... but also fun. Ouch.
Let where . Then I claim the answer is in these four cases. First, note that the base cases are trivial by checking to be . Now note the case needs at least to construct a black triangle with a single white mark at its center by checking. Call this size triangle the evil triangle.
To show the lower bound, notice we can take the top rows of a equilateral triangle to be the limiting case for and put two evil triangles on the bottom left and bottom right, respectively: these force new rows to be occupied since each evil subcase requires at least two rows in every direction, which is a claim easy verified.
To show the upper bound, we reparameterize the triangles in terms of their rows. Notably, we can start counting rows from each corner, and give each mark a barycentric coordinate where are integers denoting the th row in a given direction the point lies in, and this satisfies by Viviani's theorem.
Now, consider the configuration that minimizes . We place the rows in boxes: odd rows of each direction, and even rows of each direction, to make six boxes total. Call the numbers of odd rows and the even rows such that and correspond to the same directions respectively in that order. Notice no row is operated on twice since row operations are commutative. Assume for sake of contradiction our claim is wrong, then we can construct a solution for the case one higher than our claim.
We now perform casework: for , it follows one of the quantities is greater than . In this case, invert the rows chosen in those four boxes (i.e. remove the ones chosen and choose the ones unchosen). This fixes the configuration and decreases , giving contradiction.
Now, consider the case . Like the above paragraph, we know are equal to in some order since if any pair sums to more than then we reach a contradiction. But then , giving contradiction.
Now, for the two remaining cases, we show a lemma: the xor of all the odd rows in two directions and all the even row in a third direction, or the sum of all the even rows in all directions are both . This result follows immediately from our earlier result via Vivani's theorem (it cannot be that all three claims are true, and it cannot be the case that two of the claims are false and one is true by parity).
Thus in the case it follows that so one of the triples is at least . However inverting the three involved boxes, that total to rows and don't affect the configuration when all three are inverted, decreases the , giving contradiction.
Finally, in the it follows that . In particular, the odd/odd/even triples consist of rows each, while the even/even/even triple consists of rows. For each of the triples to avoid decreases after being inverted, it needs to satisfy either or depending on the two cases, so it follows that , giving contradiction.
Thus we have reached contradiction in all cases of counterexamples, proving our desired claim.