Walking along a graph
Source: Malaysian IMO TST 2024 P4
April 21, 2024
combinatorics
Problem Statement
Zscoder has an simple undirected graph with vertices. Navi labels a positive integer to each vertex, and places a token at one of the vertex. This vertex is now marked red. In each turn, Zscoder plays with following rule: If the token is currently at vertex with label , then he can move the token along the edges in (possibly repeating some edges) exactly times. After these moves, he marks the current vertex red where the token is at if it is unmarked, or does nothing otherwise, then finishes the turn.Zscoder claims that he can mark all vertices in red after finite number of turns, regardless of Navi's labels and starting vertex. What is the minimum number of edges must have, in terms of ?Proposed by Yeoh Zi Song