Weird graph
Source: Swiss TST 2023 P9
September 8, 2023
combinatorics
Problem Statement
Let be a graph whose vertices are the integers. Assume that any two integers are connected by a finite path in . For two integers and , we denote by the length of the shortest path from to , where the length of a path is the number of edges in it. Assume that for all integers and define . Find all possible sets .