Daily

Random

Practice set

Baltic Way 1994 · Problem 17

Combinatorics

In a certain kingdom, the king has decided to build 25 new towns on 13 uninhabited islands so that on each island there will be at least one town. Direct ferry connections will be established between any pair of new towns which are on different islands. Determine the least possible number of these connections.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Colorings and configurations · Pigeonhole and extremal arguments · Invariants and monovariants

Solutions

Solution

Solution:

Let a1,…,a13a_{1}, \ldots, a_{13} be the numbers of towns on each island. Suppose there exist numbers ii and jj such that ai≥aj>1a_{i} \geq a_{j} > 1 and consider an arbitrary town AA on the jj-th island. The number of ferry connections from town AA is equal to 25−aj25 - a_{j}. On the other hand, if we "move" town AA to the ii-th island then there will be 25−(ai+1)25 - (a_{i} + 1) connections from town AA while no other connections will be affected by this move. Hence, the smallest number of connections will be achieved if there are 13 towns on one island and one town on each of the other 12 islands. In this case there will be 13⋅12+12⋅112=22213 \cdot 12 + \frac{12 \cdot 11}{2} = 222 connections.

Contest context

Results from Baltic Way 1994

9 teams

Mean score
4.9 / 5
Scores of 4 or 5
9 / 9
Estonia
5 / 5

Score distribution

00
10
20
30
41
58
All team scores
TeamScore
St. Petersburg5 / 5
Latvia5 / 5
Poland5 / 5
Sweden5 / 5
Denmark5 / 5
Estonia5 / 5
Finland5 / 5
Lithuania5 / 5
Iceland4 / 5