Browse · MathNet
PrintMMO2025 Round 4
Mongolia 2025 counting and probability
Problem
A country consists of islands. Some pairs of islands are connected by bridges. For any two islands that are connected via some sequence of bridges, the distance between them is defined as the minimum number of bridges that must be crossed to travel from one island to the other. Assume that each island is directly connected by bridges to at least other islands. What is the maximum possible distance between two islands?
Solution
Answer: If , then the maximum distance is . If , then the maximum distance is Proof: Model the situation as a connected graph with vertices, where each vertex has degree at least . Let be the maximum distance between any two vertices. Let be a path of length in a connected component of . For each , define the set Then (disjoint union). And let . By the triangle inequality, any neighbor of a vertex in lies in . Since each vertex has at least neighbors, we obtain the inequality Let . We now show that . This is done by considering the three residue cases of and showing that any longer path would require more than vertices, leading to a contradiction in each case.
Case 1: . Let . Assume that . Then the number of vertices in the path satisfies: a contradiction.
Case 2: . Let . Assume that . Then: again contradicting .
Case 3: . Then for some . Assume that . Then: which implies , again a contradiction.
Case 1: . Let . Assume that . Then the number of vertices in the path satisfies: a contradiction.
Case 2: . Let . Assume that . Then: again contradicting .
Case 3: . Then for some . Assume that . Then: which implies , again a contradiction.
Final answer
If m = 1, the maximum distance is n − 1. If m ≥ 2, the maximum distance is 3 floor(n/(m+1)) − ε(n), where ε(n) = 3 if n ≡ 0 mod (m+1), 2 if n ≡ 1 mod (m+1), and 1 otherwise.
Techniques
Graph Theory