Maths Olympiad Prep

Library / Team Selection Test for IMO /38 of 55

Team Selection Test for IMO, 2009

Combinatorics Difficulty 8.6 Shortlist Prove it Turkey

Some of n≥4n \ge 4 students in a class are friends. Any n−1n-1 students in this class can form a circle so that any two students next to each other on the circle are friends, but all nn students cannot form a similar circle. Find the smallest possible value of nn.

Solution

We want to show that if G−vG - v has a Hamiltonian cycle for each vertex vv in a graph GG, but GG does not have a Hamiltonian cycle, then n=∣G∣≥10n = |G| \ge 10, and produce such a graph GG with n=10n = 10.

Since vv cannot be adjacent with two consecutive vertices in a Hamiltonian cycle in G−vG - v, we have deg⁡v≤[(n−1)/2]\deg v \le [(n-1)/2]. On the other hand, if deg⁡w≤2\deg w \le 2 for some vertex ww, then there is no Hamiltonian cycle in G−vG - v where vv is vertex adjacent with ww. Therefore 3≤deg⁡v≤[(n−1)/2]3 \le \deg v \le [(n-1)/2]. In particular, n≥7n \ge 7.

Next observe that if v1→v2→⋯→vn−1v_1 \to v_2 \to \dots \to v_{n-1} is a Hamiltonian cycle in G−vG - v, and if vv is adjacent with viv_i and vjv_j, i<ji < j, then vi−1v_{i-1} and vj−1v_{j-1} can not be adjacent with each other, as that would give a Hamiltonian cycle v1→⋯→vi−1→vj−1→vj−2→⋯→vi→v→vj→vj+1→⋯→vn−1v_1 \to \dots \to v_{i-1} \to v_{j-1} \to v_{j-2} \to \dots \to v_i \to v \to v_j \to v_{j+1} \to \dots \to v_{n-1} in GG.

From these observations it follows that n=7n = 7 and n=8n = 8 are impossible. If n=9n = 9, then each vertex has degree 3 or 4, and they cannot all have degree 3 by the degree sum formula. Hence assume that n=9n = 9 and there is a vertex v0v_0 with deg⁡v0=4\deg v_0 = 4.

Then GG must contain the graph on the left below.

Figure 1

Figure 2

But then, again from the observations above, it follows that each v2iv_{2i} must be adjacent with at least -and therefore exactly- one of v2i+3v_{2i+3} and v2i+5v_{2i+5} (indices considered mod 8), and there are no other edges. Since there are edges only between vertices of different parity in the resulting graph; if we remove an odd indexed vertex, the remaining graph cannot have a Hamiltonian cycle as it has unequal number of odd and even indexed vertices.

Figure 3

In this graph, a→c→C→B→b→e→E→D→d→aa \to c \to C \to B \to b \to e \to E \to D \to d \to a and A→B→C→c→e→b→d→D→E→AA \to B \to C \to c \to e \to b \to d \to D \to E \to A are Hamiltonian cycles for G−AG - A and G−aG - a, respectively.

GG itself does not have a Hamiltonian cycle. A Hamiltonian cycle cannot contain exactly two of the edges AaAa, BbBb, CcCc, DdDd, EeEe, as there are no adjacent pairs of vertices on the outer and the inner cycles. So it must contain exactly four of them; say, BbBb, CcCc, DdDd, EeEe. Then the cycle contains a path through bb, BB, AA, EE, ee, and a path through CC, cc, aa, dd, DD; and these two paths cannot be completed to a Hamiltonian cycle.

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

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.