MathDB
Game on a graph

Source: KoMaL A859

October 11, 2023
combinatoricskomal

Problem Statement

Path graph UU is given, and a blindfolded player is standing on one of its vertices. The vertices of UU are labeled with positive integers between 1 and nn, not necessarily in the natural order. In each step of the game, the game master tells the player whether he is in a vertex with degree 1 or with degree 2. If he is in a vertex with degree 1, he has to move to its only neighbour, if he is in a vertex with degree 2, he can decide whether he wants to move to the adjacent vertex with the lower or with the higher number. All the information the player has during the game after kk steps are the kk degrees of the vertices he visited and his choice for each step. Is there a strategy for the player with which he can decide in finitely many steps how many vertices the path has?