Maths Olympiad Prep

Library / /3 of 9

, 2025

Combinatorics Difficulty 8.7 Shortlist Prove it China

Let n2n \ge 2 be an integer. Two players, Alice and Bob, play the following game: Initially all (n2)\binom{n}{2} edges of the complete graph KnK_n are uncolored. They take turns coloring edges red, with Alice starting first. In each move, a player selects one or two uncolored edges to color red, with the constraint that after each move, no three vertices can have all three edges between them colored red. The game ends when no more edges can be colored.
Prove that there exists a real number ε>0\varepsilon > 0 such that for any integer n2n \ge 2, no matter how Bob plays, Alice can ensure that at the end of the game, the number of red edges does not exceed (14ε)n2+n\left(\frac{1}{4} - \varepsilon\right)n^2 + n.

Solution

We consider the graph GG formed by red edges. Initially, GG is an empty graph on nn vertices, and the condition requires that GG remains triangle-free throughout the game.

Step 1: We show that if at Alice's turn, GG has 24 isolated vertices, then Alice can create a 5-cycle among these vertices in four moves.
Let SS be the set of these 24 isolated vertices. Alice first selects three vertices A,B,CSA, B, C \in S and colors ABAB and ACAC red. After Bob's move, SS still contains at least 17 isolated vertices. Alice then selects two isolated vertices D,ESD, E \in S and colors ADAD and AEAE red. After Bob's move, SS has at least 11 isolated vertices remaining. Alice then selects two more isolated vertices F,GSF, G \in S and colors BFBF and CGCG red.

Figure 1

Consider the four edges DFDF, DGDG, EFEF, and EGEG, which are currently uncolored. After Bob's move, at least one of them remains uncolored, say DFDF. Now SS still has at least 5 isolated vertices. Alice selects one of them, HH, and colors FHFH and DHDH red. This creates a 5-cycle ABFHDABFHD in GG. By following this strategy, after four moves by each player, the number of isolated vertices in GG decreases by at most 24.

Step 2: Alice follows the strategy described in Step 1. After 4×n244 \times \lfloor \frac{n}{24} \rfloor moves, she can ensure that GG contains n24\lfloor \frac{n}{24} \rfloor disjoint 5-cycles. Alice then colors edges arbitrarily until GG becomes a maximal triangle-free graph.

We now estimate the number of edges in GG. Let k=n24k = \lfloor \frac{n}{24} \rfloor, and denote the disjoint 5-cycles by C1,C2,,CkC_1, C_2, \dots, C_k. Between any two cycles CiC_i and CjC_j, there are at most 10 edges. For each vertex vv not in any CiC_i, there are at most 2 edges from vv to each CiC_i. The remaining n5kn - 5k vertices outside all CiC_i can have at most (n5k)24\frac{(n-5k)^2}{4} edges between them (by Turán's theorem). The cycles C1,,CkC_1, \dots, C_k themselves contribute 5k5k edges. Thus, the total number of edges is bounded by:

E(G)=10(k2)+2k(n5k)+(n5k)24+5k=n24kn2+5k24n2412(n241)n+54(n24)2=(1443482)n2+n2. \begin{align*} |E(G)| &= 10 \binom{k}{2} + 2k(n-5k) + \frac{(n-5k)^2}{4} + 5k \\ &= \frac{n^2}{4} - \frac{kn}{2} + \frac{5k^2}{4} \\ &\le \frac{n^2}{4} - \frac{1}{2} \left( \frac{n}{24} - 1 \right) n + \frac{5}{4} \left( \frac{n}{24} \right)^2 \\ &= \left( \frac{1}{4} - \frac{43}{48^2} \right) n^2 + \frac{n}{2}. \end{align*}

Taking ε=43482\varepsilon = \frac{43}{48^2} satisfies the requirement. \square

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.