BALKAN 2025 Problem 4
- Paper
- Answer
There are cities in a country, where is an integer. Some pairs of cities are connected by direct (two- way) flights. For two cities and we define:
- a path between and as a sequence of distinct cities , , such that there are direct flights between and for every ;- a long path between and as a path between and such that no other path between and has more cities;- a short path between and as a path between and such that no other path between and has fewer cities.
Assume that for any pair of cities and in the country, there exist a long path and a short path between them that have no cities in common (except and ). Let be the total number of pairs of cities in the country that are connected by direct flights. In terms of , find all possible values of .
Dataset text NuminaMath olympiads. Quoted with source.
Show the answer
\frac{n(n - 1)}{2}, n, \frac{n^2}{4}
Solutions
No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.