Maths Olympiad Prep

Library / /40 of 48

Combinatorics Difficulty 7.4 National Olympiad, round 2 Prove it Turkey

Some pairs of cities of a country consisting of 100100 cities are connected by 20132013 round trip flights operated by nn air companies. There are at least two cities such that one is not reachable from the other one by one or two flights. Given that for any pair of cities there is an air company connecting these two cities by direct or indirect flights, find the maximal possible value of nn.

Solution

The answer is n=2015n = 2015. The solution will be given in terms of graph theory: vertices are cities, edges corresponding to flights will be identically colored if they belong to the same air company. Let all edges of a tree connecting all 100100 vertices be identically colored and the remaining edges be differently colored. The conditions are held and n=201399+1=2015n = 2013 - 99 + 1 = 2015.

Now we prove that there are at most 19151915 colors. Consider a coloring of GG with maximal number of colors. Then

Identically colored edges form a connected tree. Indeed, if there is a monochromatic cycle we can recolor one of its edges in a new color and increase the number of colors; if two identically colored trees are not connected then we can recolor one of these trees in a new color and thereby increase the number of colors.

*Two trees can not have more than 22 intersections.* Indeed, if there are more than two intersections the union of two trees includes at least two cycles and we can recolor these two trees identically and after that recolor one edge in each cycle in new colors and thereby increase the number of colors.

W.l.o.g. we can suppose that if two trees intersect at two vertices then both vertices are endpoints (vertices of degree one) of these trees. Indeed, if one of intersection vertices is not an endpoint there is a cycle; we can recolor these two trees identically and after that recolor one edge in a cycle by new color thereby the number of colors will not change.

Consider vertices uu and vv located at distance at least 33. Let XX be the set of vertices of a tree connecting uu and vv and Y=X{u,v}Y = X - \{u, v\}. Y|Y| denotes the number of vertices in YY. Let AA be the set of all neighbor vertices of uu and B=GuvAB = G - u - v - A. X|X| denotes the number of elements in XX. Let a=a|a| = a, B=b|B| = b, YA=YA|Y \cap A| = Y_A, YB=YB|Y \cap B| = Y_B.

Let uu be connected to vertices of BYB-Y by some trees T1,,TpT_1, \dots, T_p and Z1,,ZpZ_1, \dots, Z_p be their vertices. XiXj=X_i \cap X_j = \emptyset since different trees already have intersection in uu. Therefore to each tree TiT_i i=1,,pi = 1, \dots, p we can assign a different vertex in AA. Therefore, pp trees T1,,TpT_1, \dots, T_p contain at least bYB+pb - |Y_B| + p vertices other than uu. Similarly, qq trees connecting vv to AYA-Y contain at least aYA+qa - |Y_A| + q vertices other than vv.

If a tree contains dd vertices other than its root, dd edges are identically colored and color loss d1d-1. Thus, the total color loss will be bYB+pp+aYA+qq+Y2b - |Y_B| + p - p + a - |Y_A| + q - q + |Y| - 2. Since YB+YA=Y2|Y_B| + |Y_A| = |Y| - 2 the total color loss is a+b=98a + b = 98. Thus, the total number of colors is at most 201398=19152013 - 98 = 1915. Done.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.