English

Books, Hallways and Social Butterflies: A Note on Sliding Block Puzzles

Combinatorics 2024-12-19 v3

Abstract

Recall the classical 15-puzzle, consisting of 15 sliding blocks in a 4×44\times 4 grid. Famously, the configuration space of this puzzle consists of two connected components, corresponding to the odd and even permutations of the symmetric group S15S_{15}. In 1974, Wilson generalised sliding block puzzles beyond the 4×44\times 4 grid to arbitrary graphs (considering n1n-1 sliding blocks on a graph with nn vertices), and characterised the graphs for which the corresponding configuration space is connected. In this work, we extend Wilson's characterisation to sliding block puzzles with an arbitrary number of blocks (potentially leaving more than one empty vertex). For any graph, we determine how many empty vertices are necessary to connect the corresponding configuration space, and more generally we provide an algorithm to determine whether any two configurations are connected. Our work may also be interpreted within the framework of "Friends and Strangers graphs", where empty vertices correspond to "social butterflies" and sliding blocks to "asocial" people.

Keywords

Cite

@article{arxiv.2303.09459,
  title  = {Books, Hallways and Social Butterflies: A Note on Sliding Block Puzzles},
  author = {Florestan Brunck and Matthew Kwan},
  journal= {arXiv preprint arXiv:2303.09459},
  year   = {2024}
}

Comments

Since posting our preprint, we were made aware that our main theorem has previously appeared in the literature. Specifically, this result (in different language) is claimed without proof in a paper of Kornhauser, Miller and Spirakis, appearing in the conference proceedings of FOCS'84 (there are connections to memory management in distributed systems). The proof can be found in Kornhauser's thesis