MathDB
Problems
Contests
National and Regional Contests
Switzerland Contests
Switzerland Team Selection Test
2023 Switzerland Team Selection Test
9
9
Part of
2023 Switzerland Team Selection Test
Problems
(1)
Weird graph
Source: Swiss TST 2023 P9
9/8/2023
Let
G
G
G
be a graph whose vertices are the integers. Assume that any two integers are connected by a finite path in
G
G
G
. For two integers
x
x
x
and
y
y
y
, we denote by
d
(
x
,
y
)
d(x, y)
d
(
x
,
y
)
the length of the shortest path from
x
x
x
to
y
y
y
, where the length of a path is the number of edges in it. Assume that
d
(
x
,
y
)
∣
x
−
y
d(x, y) \mid x-y
d
(
x
,
y
)
∣
x
−
y
for all integers
x
,
y
x, y
x
,
y
and define
S
(
G
)
=
{
d
(
x
,
y
)
∣
x
,
y
∈
Z
}
S(G)=\{d(x, y) | x, y \in \mathbb{Z}\}
S
(
G
)
=
{
d
(
x
,
y
)
∣
x
,
y
∈
Z
}
. Find all possible sets
S
(
G
)
S(G)
S
(
G
)
.
combinatorics