Mathematics — Graph Theory · hamiltonian-cycles-hypercube-variants
Problem
Let n and k be two integers such that n>k>0. Define the simple graph Qn,k as follows: Its vertices are the bitstrings (a1,a2,…,an)∈{0,1}n; two such bitstrings are adjacent if and only if they differ in exactly k bits (in other words: two vertices (a1,a2,…,an) and (b1,b2,…,bn) are adjacent if and only if the number of i∈{1,2,…,n} satisfying ai=bi equals k). (Thus, Qn,1 is the n-hypercube graph Qn.)
(a) Does Qn,k have a hamc when k is even? (Recall that ``hamc'' is short for ``Hamiltonian cycle''.)
(b) Does Qn,k have a hamc when k is odd?
[Hint: One way to approach part (b) is by identifying the set {0,1} with the field F2 with two elements. The bitstrings (a1,a2,…,an)∈{0,1}n thus become the size-n row vectors in the F2-vector space F2n. Let e1,e2,…,en be the standard basis vectors of F2n (so that ei has a 1 in its i-th position and zeroes everywhere else). Then, two vectors are adjacent in the n-hypercube graph Qn (resp. in the graph Qn,k) if and only if their difference is one of the standard basis vectors (resp., a sum of k distinct standard basis vectors). Try to use this to find a graph isomorphism from Qn to a subgraph of Qn,k.]