Abstract
This research explores efficient algorithmic solutions for the $n \times n \times n$ Rubik’s cube, focusing on minimizing the total number of moves required for a complete solution. By introducing a set of optimized 8-move commutators and applying grouping techniques for cubie clusters, the authors demonstrate a move complexity of $O(n^2 / \log n)$. This approach provides a significant constant-factor improvement over previous state-of-the-art methods, bridging the gap between theoretical group theory and practical move efficiency.
Introduction
The $3 \times 3 \times 3$ Rubik’s cube is a well-understood puzzle, but as the dimensions scale to an $n \times n \times n$ "Big Cube," the complexity of finding an optimal solution increases dramatically. The challenge lies in determining "God’s Number"—the maximum number of moves required to solve any configuration—for large $n$. While asymptotic bounds have been established, there remains a need for specific, move-efficient algorithms that can be generalized across all layers of an arbitrary cube. This paper addresses this by providing short move sequences that optimize the solution process.
Methodology: The 3-Cycle Approach
The core strategy involves a "3-cycle" approach, utilizing commutators that swap exactly three cubies while leaving the rest of the cube in its original state (the identity permutation). The solution is categorized into three primary cases:
Case 1: Face Moves
For corner cubies, the authors employ an 8-move sequence: $U R' D R U' R' D' R$. This sequence relies on standard face rotations to manipulate the outer layers.
Case 2 & 3: Inner Layers and Middle Slices
To solve edge and center cubies, the logic of face rotations is extended to inner slice rotations. By substituting face moves with specific vertical ($V_j$) and horizontal ($H_i$) slice rotations, the 3-cycle commutator can target any cubie within the $n \times n \times n$ structure.
Optimization and Complexity
A naive application of these 3-cycle algorithms results in a move complexity of $O(n^2)$. However, the authors improve this to $O(n^2 / \log n)$ by adapting grouping techniques. This involves identifying "cubie clusters"—sets of pieces that only permute among themselves. By solving multiple clusters in parallel through shared slice moves, the authors achieve a logarithmic speedup.
The proposed 8-move commutator represents a 20% improvement in move efficiency compared to the 10-move sequences used in previous landmark studies. While the asymptotic complexity remains the same, the reduction in the constant factor is a meaningful advancement in algorithmic combinatorics.
Results and Discussion
The research proves that these algorithms are universal for any $n \times n \times n$ configuration. While the optimization assumes even parity for cubie clusters, the authors demonstrate that any parity issues can be resolved in $O(n)$ moves, which does not affect the overall complexity bound.
Despite the theoretical efficiency, the $O(n^2 / \log n)$ optimization presents challenges for human execution. The complex "bit-masking" required to track parallel moves is better suited for computer-assisted solving than manual speedcubing. Future research may explore how these algorithms perform under different metrics, such as the half-turn or quarter-turn metrics, to further refine move-count benchmarks.
Summary updated