Skip to main content
OlympiadHQ

Browse · MathNet

Print

Final Round

Belarus counting and probability

Problem

There are towns in a country. Some of them are connected with domestic flights. Each flight connects exactly two towns. If there is a flight from town to town , then there is a flight from to . It is known that for any two towns there exists a unique route such that one can reach the second town from the first one using at most two flights. There is no town that is connected with all other towns of the country with the direct flights. Prove that is a square of some integer number.

problem


problem


problem


problem
Solution
We use the graph theory language and consider the towns as the vertices of the graph . We connect two vertices by the edge iff there exists a flight from one of them to the other town. The problem conditions are equivalent to the following conditions for the graph :

i) any two different vertices are connected with a unique path consisting of at most two edges; ii) there are cyclic paths of length neither 3 nor 4 (see Fig. 1); iii) there is no vertex connected with all others.

Fig. 1

Fix any vertex of and partition all the vertices of into three sets: , and (the vertices of are called the vertices of the -th level, ). consists of exactly one vertex ; consists of all vertices connected with by the edge; consists of all remaining vertices of . Let consist of vertices (see Fig. 2). From ii) it follows that no two vertices are connected by the edge (otherwise there is a cyclic path of length 3: ). From iii) it follows that .

Fig. 2

Show that each vertex of the 1st level is connected with at least one vertex of the 2nd level, and the distinct vertices of the 1st level cannot be connected with the same vertex of the 2nd level. Indeed, if some vertex is connected with none of the vertices of the 2nd level, then ( is connected with none of the vertices of the 1st level) the path from to any of the vertices of the 2nd level passes through (see Fig. 2), i.e. this path consists of at least two edges, contrary to i). If two vertices are connected with the same vertex , then we have the cyclic path of length 4 (see Fig. 2), contrary to ii).

Now it follows that , for all , and consists of those vertices of the 2nd level which are connected with , , (see Fig. 2). Prove that all contain the same number of the vertices. Consider any two sets and (). Suppose that there is which is connected with none of the vertices of . Then there is no path from to with at most two edges. Indeed, we can reach either from or from any vertex of . But the shortest path from to consists of two edges, and the path from to each vertex of consists of at least two edges. The obtained contradiction shows that each vertex of is connected by the edge with at least one of the vertices of . Moreover, each vertex is connected by the edge with exactly one vertex of (otherwise if is connected by the edges with , then we have the cyclic path of length 4). Since we choose and arbitrarily, it follows that all sets , () have the same number of the vertices. Let denote the number of the vertices in each set of the sets .

Consider any and some of its vertex . Since no two vertices of are connected by the edge (otherwise there exists a cyclic path of length 3), is connected by the edge with exactly one vertex of each of the of the sets , ; is connected by the edge with and there are no edges from different from the mentioned edges, we see that the degree of is equal to . Thus, the degree of each vertex of the 2nd level is equal to , i.e. these degrees are equal to the number of the vertices of the 1st level.

Note that vertex is chosen arbitrarily. Hence, applying the same arguments for , we obtain that the 1st level for consists of vertices (the 1st level for consists of and all vertices of (see Fig. 2)). Therefore, the degree of each vertex of the 2nd level for is equal to .

In particular, the degree of each vertex of, for example, is equal to . On the other hand, by the above, the degree of this vertex is equal to . Therefore, we obtain . Thus, consists of exactly vertices. The required statement is proved.



Fig. 3

Remark. There exist graphs described in the problem conditions and solution, e.g., a 5-cyclic graph 5 or the Petersen graph (see Fig. 3).

Techniques

Graph Theory