Skip to main content
OlympiadHQ

Browse · MathNet

Print

58th Ukrainian National Mathematical Olympiad

Ukraine counting and probability

Problem

Country "U" has cities . They are connected with flights so that one can get from any city to any other city with layovers. Let be the smallest amount of flights needed to get from city to city , and let be the total number of flights in country "U" and let

Show that:
Solution
Show that:

Let , and let the shortest path between and be the following: . Let be the set of such vertices ( vertices), and let be the set of all other vertices ( vertices total). The number of edges that connects vertices inside is not greater than . All edges that connect vertices inside are the edges of the shortest path, otherwise there exists shorter path between and . Therefore, there are exactly edges.

If , then there are 3 or less edges that connect with vertices from . Otherwise, there exists shorter path than the one that has edges. Therefore, there exists not more than edges that connect vertices from and vertices from . Thus,

The given inequality can be obtained by dividing inequality by and using

Techniques

Graph TheoryColoring schemes, extremal arguments