Maths Olympiad Prep

Library / /47 of 63

, 2009

Combinatorics Difficulty 8.6 Shortlist Prove it Turkey

Some of n4n \ge 4 students in a class are friends. Any n1n-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 GvG - v has a Hamiltonian cycle for each vertex vv in a graph GG, but GG does not have a Hamiltonian cycle, then n=G10n = |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 GvG - v, we have degv[(n1)/2]\deg v \le [(n-1)/2]. On the other hand, if degw2\deg w \le 2 for some vertex ww, then there is no Hamiltonian cycle in GvG - v where vv is vertex adjacent with ww. Therefore 3degv[(n1)/2]3 \le \deg v \le [(n-1)/2]. In particular, n7n \ge 7.

Next observe that if v1v2vn1v_1 \to v_2 \to \dots \to v_{n-1} is a Hamiltonian cycle in GvG - v, and if vv is adjacent with viv_i and vjv_j, i<ji < j, then vi1v_{i-1} and vj1v_{j-1} can not be adjacent with each other, as that would give a Hamiltonian cycle v1vi1vj1vj2vivvjvj+1vn1v_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 degv0=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, acCBbeEDdaa \to c \to C \to B \to b \to e \to E \to D \to d \to a and ABCcebdDEAA \to B \to C \to c \to e \to b \to d \to D \to E \to A are Hamiltonian cycles for GAG - A and GaG - 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,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.