MathDB
Graph theory in the contest halls

Source: 5th Memorial Mathematical Competition "Aleksandar Blazhevski - Cane" - Senior - Problem 1

January 29, 2024
graph theorycombinatorics

Problem Statement

This year, some contestants at the Memorial Contest ABC are friends with each other (friendship is always mutual). For each contestant XX, let t(X)t(X) be the total score that this contestant achieved in previous years before this contest. It is known that the following statements are true: 1)1) For any two friends XX' and XX'', we have t(X)t(X),t(X') \neq t(X''), 2)2) For every contestant XX, the set {t(Y):Y is a friend of X}\{ t(Y) : Y \text{ is a friend of } X \} consists of consecutive integers. The organizers want to distribute the contestants into contest halls in such a way that no two friends are in the same hall. What is the minimal number of halls they need?