MathDB
Walking along a graph

Source: Malaysian IMO TST 2024 P4

April 21, 2024
combinatorics

Problem Statement

Zscoder has an simple undirected graph GG with n3n\ge 3 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:
\bullet If the token is currently at vertex vv with label tt, then he can move the token along the edges in GG (possibly repeating some edges) exactly tt times. After these tt 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 GG red after finite number of turns, regardless of Navi's labels and starting vertex. What is the minimum number of edges must GG have, in terms of nn?
Proposed by Yeoh Zi Song