DR.WANG Mathematics中文

2014 USAMO · Question 4

Counting & combinatorics · regular polygon · combinatorial game · grid · optimization

Problem outline

An infinite board of edge-sharing regular hexagons starts empty. Players AA and BB alternate, with AA first. On each turn AA places one counter in each of two empty cells sharing an edge. On each turn BB removes any one counter. For a positive integer kk, AA wins the moment a straight row of kk successive cells is occupied. Find the least kk for which BB can prevent such a win forever, or prove that none exists.

Show answer and methods 1 methods

Answer

66.

Method 1 Defend by coloring, attack in two staggered rows

For the defense, label the cell centers by coordinates (u,v)(u,v) along two adjacent lattice directions 60∘60^\circ apart. A step along a row changes coordinates by one of ±(1,0),±(0,1),±(1,−1)\pm(1,0),\pm(0,1),\pm(1,-1). Mark cells with u−v≡0(mod3)u-v\equiv0\pmod 3. Adjacent cells cannot both be marked, and along any straight row every third cell is marked.

After every move of AA, BB removes the new counter on a marked cell if there is one, and otherwise removes any counter. Induction shows that all marked cells are empty after each move of BB, and at most one is occupied even immediately after a move of AA. Six successive cells contain two marked ones. Thus BB prevents a row of six.

For the attack, choose 14 consecutive cells in a horizontal row. In the row immediately below, take all 15 cells touching these 14. AA plays any adjacent empty pair inside this strip while possible. Each full round increases the number of counters in the strip by one: the two new ones lie inside, and every counter available for removal also lies inside. Thus, unless AA has already won, some turn of AA begins with no adjacent empty pair in the strip. All cells outside are still empty.

At that turn, four consecutive occupied cells in either row suffice: if an end already has an occupied neighbor along the row, five are present. Otherwise play on an empty extension cell together with a neighbor on the outer side of that row, beyond the strip. In the upper row, two consecutive occupied runs separated by one empty cell also suffice if their lengths sum to at least four. Fill their separating cell and its neighbor in the untouched row above.

Suppose neither finish is available. Each occupied run in the upper row then has length at most three. No two empty cells are adjacent. If there were at most three runs, they and their intervening or end gaps could cover at most 3⋅3+4=133\cdot3+4=13 cells. So there are at least four runs. The second and third runs are both interior and their lengths sum to at most three. At least one is a single counter with an empty cell immediately on each side.

Each of these two empty upper cells touches two cells of the lower row. Because lower cells sit between upper cells, these are four distinct consecutive lower cells. Each must be occupied, since otherwise there would be an adjacent empty pair. This provides the four-cell finish after all. Hence AA can force five in finitely many moves, and with that also every smaller target. The least target BB can prevent is six.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)