Given a tree with vertices labelled , , , . Each vertex hosts a dwarf, and every dwarf has some number of coins, at least . 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 , the smallest integer such that for every tree with vertices there exists an initial coin distribution in which the numbers of coins of any two dwarfs differ by at most , and after the process every dwarf ends up with exactly the same number of coins as at the beginning.
, 2025
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.