Problem of the Month
Problem 7: April 2023
Let denote the set of all
-tuples of s and s. For example, is the set of all ordered pairs of
s and s or . To
improve readability, we will omit the commas and parentheses from the
elements of . For example, the
elements of will be denoted by
, , , , , , , and .
Variables referring to elements of will be bold lowercase letters. For
example, we might refer to elements in as , or , and so on. To refer to the
coordinates of elements in , we
will use square brackets. For example, if , an element in , then , , , , and .
For two elements and
in , the Hamming distance,
denoted between
and is equal to the number of
coordinates where they differ. For example, if and , then because and , but for , , and . It is important to convince yourself
that for any
and .
The notion of a graph was defined in the extra information
about the February 2023 problem, but there are also plenty of places
online that have definitions. We will keep things simple here and define
a graph to be a collection of vertices, some of which are
connected to each other by edges. When we draw a graph, a
vertex will be represented by a circle and an edge will be represented
by a line segment from one vertex to another. Two examples of graphs are
depicted below. The one on the left has four vertices and the one on the
right has eight. Note that two edges intersecting does not necessarily
imply the presence of a vertex.
For each , we define a graph
with vertices called the
natural graph of . In
the natural graph of , it is
possible to label every vertex by exactly one element of such that there is an edge between
two vertices exactly when their Hamming distance is . The two examples above are the natural
graphs of and . They are shown again below with
their vertices labelled.
A walk in a graph from vertex to vertex is a sequence of vertices starting at
and ending at with the property that there is an edge
connecting every pair of consecutive vertices in the sequence. The
length of a walk is the number of edges it uses. For example,
let , , , and be the vertices labelled by , , , and in the natural graph of , respectively. Then and are walks of length from to . The distance between and in a graph is equal to the shortest
possible length of a walk from to
. In the example above, and have a distance of because there are walks of length , but there are no shorter walks from
to .
Let and be elements of . Show that is equal to the distance
between and in the natural graph of .
For each with , determine the number of
two-element subsets of that satisfy .
Suppose we were to relabel the vertices of the natural graph of
by permuting the labels. That
is, we keep the graph the same but use the elements of to label a vertex of the graph in
some other way. For example, in , we might leave and where they are and swap the positions
of and , as shown.
When this is done, the distance in the new graph between elements of
and is not necessarily equal to any more. The table
below has the two-element subsets of in the first column, in the second column,
and their distance in the relabelled graph in the third column.
Among the four subsets with , there are two that
have a distance in the relabelled graph of and two that have a distance in the
relabelled graph of .
Now for the question: For each , find a way to permute the elements of
so that the following happens:
Among all two-element subsets of with , there are the same
number with each possible distance in the relabelled graph.