Research Article

Study on Rainbow Ball Puzzle: From 12 Hole to 20

Yimeng Zhao1,*, Ryan Pan2, Zhehan Tao3
1. Guanghua Qidi Education
2. St. George’s School
3. Jinhua No.1 High School

* Corresponding author: [email protected]

Abstract

The Rainbow Ball is a spherical sliding puzzle with one empty slot. We analyze the 12-hole and 20-hole versions using graph theory to model moves as edges and group theory to depict different initial states as permutations. For the 12-hole puzzle, adjacent transpositions and a long cycle generate the full symmetric group S11, proving every arrangement is solvable. In the 20-hole puzzle, moves form 5-cycles—only even permutations—so half of all configurations are unreachable. We suggest adding a channel to create a 3-cycle, which would restore full solvability.

Keywords: graph theory; cycle; permutation; model
Published: November 26, 2025
DOI: 10.54254/2753-8818/2025.DL30178
Volume: TNS Vol.142
pp. 209-217
Download PDF

References

  1. Beeler, Robert A. (2022). The Fifteen Puzzle and Related Puzzles (Supplemental Material for Intro to Modern Algebra)
  2. Loyd, Sam, and Martin Gardner. (1975). Mathematical Puzzles of Sam Loyd.
  3. Godsil, Chris, and Gordon Royle. (2001). Algebraic Graph Theory.
  4. Dummit, David S., and Richard M. Foote. (2004). Abstract Algebra.
  5. Harary, Frank. (1969). Graph Theory.