,
Bernardo Subercaseaux
Creative Commons Attribution 4.0 International license
It is by now well-known that any state of the 3× 3 × 3 Rubik’s Cube can be solved in at most 20 moves, a result often referred to as "God’s Number". However, this result took Rokicki et al. around 35 CPU years to prove and is therefore very challenging to reproduce. We provide a novel approach to obtain a worse bound of 36 moves with high confidence, but that offers two main advantages: (i) it is easy to understand, reproduce, and verify, and (ii) our main idea generalizes to bounding the diameter of other vertex-transitive graphs by at most twice its true value, hence the name "demigod number". Our approach is based on the fact that, for vertex-transitive graphs, the diameter at most twice the average distance (of which we give a much simpler proof than in the literature). Then, by sampling uniformly random states and using a modern solver to obtain upper bounds on their distance, a standard concentration bound allows us to confidently state that the average distance is around 18.32 ± 0.18, from where the diameter is at most 36.
@InProceedings{merino_et_al:LIPIcs.FUN.2026.31,
author = {Merino, Arturo and Subercaseaux, Bernardo},
title = {{A Demigod’s Number for the Rubik’s Cube}},
booktitle = {13th International Conference on Fun with Algorithms (FUN 2026)},
pages = {31:1--31:20},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-417-8},
ISSN = {1868-8969},
year = {2026},
volume = {366},
editor = {Iacono, John},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.FUN.2026.31},
URN = {urn:nbn:de:0030-drops-257505},
doi = {10.4230/LIPIcs.FUN.2026.31},
annote = {Keywords: Diameter, Rubik’s Cube, Experimental mathematics}
}
archived version