Skip to main content
OlympiadHQ

Browse · MathNet

Print

Silk Road Mathematics Competition

counting and probability

Problem

a) In this country there are cities, numbered with integers from to ; b) Two cities with numbers and are connected by a single road if and only if the binary notations of and differ in exactly one digit; c) During the tourist's trip in that country, roads will be closed for repairing.

Prove that the tourist can organize a closed path by working roads of the Compland which passes through every city exactly once.
Solution
Remind that -dimensional binary cube (boolean) is a graph with vertices labeled by binary sequences of length , and there is an edge between any two vertices if and only if their sequences differ only in one corresponding coordinate (digit).

Then our problem is equivalent to the following: prove that if from a -dimensional binary cube we remove edges, then we always obtain a hamiltonian graph (i.e., a graph having a hamiltonian cycle – a closed path passing through all vertices of the graph exactly once).

By induction on let's prove a more general statement: If from an -dimensional binary cube, , we remove arbitrary edges, then the obtained graph is hamiltonian.

Proof: For the statement is obvious, there is nothing to remove.

Assume that for the statement is true, and prove it for .

Let be the set of vertices of the -dimensional cube , where is a set of edges. Let's take an arbitrary removed edge . W.l.o.g. we may assume that it connects vertices and .

Then consider the sets of vertices and which form a partition of ; and corresponding subgraphs and .

Note that: 1) Subgraphs and are identical to -dimensional binary cubes; 2) A mapping is an isomorphism from to .

Let be the set of all removed edges, . Then we have a partition , where is the set of edges removed from subgraph , , and is the set of removed edges which "connect" and . In particular, .

Since , then by the induction hypothesis in there is a hamiltonian cycle , which does not use the edges from . Then is a hamiltonian cycle in , where for , not passing through the edges of .

is a hamiltonian cycle in , not passing through the edges of . The statement is proved.

Techniques

Graph TheoryInduction / smoothing