MathDB
Weird graph

Source: Swiss TST 2023 P9

September 8, 2023
combinatorics

Problem Statement

Let GG be a graph whose vertices are the integers. Assume that any two integers are connected by a finite path in GG. For two integers xx and yy, we denote by d(x,y)d(x, y) the length of the shortest path from xx to yy, where the length of a path is the number of edges in it. Assume that d(x,y)xyd(x, y) \mid x-y for all integers x,yx, y and define S(G)={d(x,y)x,yZ}S(G)=\{d(x, y) | x, y \in \mathbb{Z}\}. Find all possible sets S(G)S(G).