olymmath

BALKAN 2025 Problem 4

  • Paper
  • Answer

There are nn cities in a country, where n⩾100n \geqslant 100 is an integer. Some pairs of cities are connected by direct (two- way) flights. For two cities AA and BB we define:

  • a path between AA and BB as a sequence of distinct cities A=C0,C1,…,Ck,Ck+1=BA = C_{0}, C_{1}, \ldots , C_{k}, C_{k + 1} = B , k⩾0k \geqslant 0 , such that there are direct flights between CiC_{i} and Ci+1C_{i + 1} for every 0⩽i⩽k0 \leqslant i \leqslant k ;- a long path between AA and BB as a path between AA and BB such that no other path between AA and BB has more cities;- a short path between AA and BB as a path between AA and BB such that no other path between AA and BB has fewer cities.

Assume that for any pair of cities AA and BB in the country, there exist a long path and a short path between them that have no cities in common (except AA and BB ). Let FF be the total number of pairs of cities in the country that are connected by direct flights. In terms of nn , find all possible values of FF .

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.

Add a solution

Locator balkan/2025/p4 · Tag PMT84TSCAD · Edit this page on GitHub · Keys: j next, k previous