Research Article

Sliding Graph Puzzles: Permutation Groups, Wilson’s Theorem, and New Algorithms

Chun Chi Wong1,*, Linxuan Li2, Ruohan Chen3
1. Shenzhen College of International Education
2. Beijing new talent academy
3. JINQIU INTERNATIONAL

* Corresponding author: [email protected]

Abstract

The 15-puzzle is a classic sliding puzzle consisting of a 4x4 grid with 15 numbered square tiles and one empty space. In 1974, Wilson generalized the 15-puzzle to find the group of permutations on graphs. In this work, we provide a variation of a proof of Wilson’s theorem, propose a result for 1-connected and disconnected graphs, find a new manual algorithm for solving sliding graph puzzles, and extend existing computer algorithms on the 15-puzzle to solve any sliding graph puzzle.

Keywords: Sliding puzzle; Permutation group; Graph theory; Manual algorithm
Published: July 30, 2025
DOI: 10.54254/2755-2721/2025.PO25579
Volume: ACE Vol.164
pp. 124-142
Download PDF

References

  1. F. Brunck and M. Kwan, “Books, Hallways and social butterflies: A note on sliding block puzzles, " Math Intelligencer 47, 2025, pp. 52–65.
  2. P. Garcia, A. Hanson, D. Jensen, and N. Owen, “Sliding block puzzles with a twist: On Segerman’s 15 + 4 puzzle”, arXiv preprint, arXiv: 2210.16930, 2022
  3. C. Yang, “Sliding puzzles and rotating puzzles on graphs, ” Discrete Mathematics, vol. 311, no. 14, pp. 1290–1294, 2011.
  4. R. M. Wilson, “Graph puzzles, homotopy, and the alternating group, " Journal of Combinatorial Theory, Series B, vol. 16, no. 1, 1974, pp. 86-96.
  5. Robert A. Beeler, “The Fifteen Puzzle and Related Puzzles (Supplemental Material for Intro to Modern Algebra), " June 28, 2022
  6. J. Gerald and J. Rotman, “Outer Automorphisms of S6, ” The American Mathematical Monthly, vol. 89, no. 6, 1982, pp. 407–410.
  7. H. Whitney, “Non-Separable and Planar Graphs, ” Transactions of the American Mathematical Society, vol. 34, no. 2, 1932, pp. 339-362.
  8. T. Howe, “Two Approaches to Analyzing the Permutations of the 15 Puzzle, ” 2017.
  9. A. F. Archer, “A Modern Treatment of the 15 Puzzle, ” The American Mathematical Monthly, vol. 106, pp. 793-799, 1999.
  10. S. J. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 3rd ed., Prentice Hall, 2010, pp. 98-103.