Maths Olympiad Prep

Library / /81 of 151

, 2025

Combinatorics Difficulty 7.0 National Olympiad, round 2 Find the answer Hungary

Given a tree with n2n \ge 2 vertices labelled v1v_1, v2v_2, \dots, vnv_n. Each vertex hosts a dwarf, and every dwarf has some number of coins, at least nn. We then go through the vertices in the order of increasing indices: the dwarf on the current vertex takes one coin from its richest neighbour; if there are several richest neighbours, he takes one coin from each of them. Determine, as a function of nn, the smallest integer kk such that for every tree with nn vertices there exists an initial coin distribution in which the numbers of coins of any two dwarfs differ by at most kk, and after the process every dwarf ends up with exactly the same number of coins as at the beginning.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: KöMaL, licensed Rights held by KöMaL and the MATFUND Foundation. Statement reproduced verbatim; metadata (topic, difficulty) added by this project. Solutions are the publisher's, linked not copied.