KöMaL 2025 A918
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.
Official text KöMaL. Quoted with source.
Solutions
No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.