Where Knowledge Junkies Get Their Fix
Chris Higgins
How to Solve a Rubik’s Cube in Only 23 Moves
by Chris Higgins - June 12, 2008 - 12:34 PM

Rubik's CubeI’ve never solved a Rubik’s Cube. I’m that guy who takes the stickers off puts them where I want them in order to get it over with. (Much to the consternation of any legitimate puzzle-solver who might try to use my cube in the future.) So it was with some amazement that I learned that Rubik’s Cube solutions are an area of active mathematical research. There are scholars out there working on ideal cube-solving algorithms, and major progress is being made towards “God’s algorithm” — more on that in a moment.

Math god Tom Rokicki recently proved that all possible Rubik’s Cube configurations can be solved in 23 turns or fewer. In order to arrive at this conclusion he needed massive computing power — the research was done on supercomputers at Sony Pictures Imageworks (in the idle time between rendering special effects for Hollywood movies). Rokicki’s conclusion states that for any legal Rubik’s Cube configuration, a solution exists in 21, 22, or 23 moves. (And a few special-case cube configurations may be solvable in 20 or fewer.) Now the trick is…what are those moves?

Rokicki’s research is interesting in that it doesn’t actually tell you specifically how to solve a given cube (contrary to my catchy blog title above) — it just proves that a solution exists for all possible legal cube configurations, and that solution is guaranteed to be achievable in 23 moves or fewer.

This research is one step in a process that may arrive at “God’s algorithm,” a theoretically ideal solution to a puzzle. From Wikipedia’s page on the algorithm to end all algorithms:

God’s algorithm is a notion originating in discussions of ways to solve the Rubik’s Cube puzzle, but which can also be applied to other combinatorial puzzles and mathematical games. It stands for any practical algorithm that produces a solution having the least possible number of moves, the idea being that an omniscient being would know an optimal step from any given configuration.

…It is unknown whether a practical God’s algorithm exists for Rubik’s Cube.

Further reading: Rokicki’s paper on 25-move solutions, a nice Slashdot explanation of the implications of the research, more on God’s algorithm, and a highly math-intensive page on Optimal solutions for Rubik’s Cube.

Send this Post » Suggest a Topic/Link »
Comments (10)
  1. CAN’T REMEMBER WHICH COLORS IT IS, BUT IT IS POSSIBLE TO PRY OFF ONE CENTER/EDGE PEICE AND REARRANGE THE COLORS IN THE SOLUTION.

  2. Wasn’t there a Rubik’s Cube class/major at Yale during one point?

  3. I totally peeled the stickers off too.

  4. My average is now 43 seconds. I’ve been stuck there for months.

    I’ve moved on to the 4×4x4s and 5×5x5s to help deal with my frustration.

  5. Oh yeah, I had taking the Rubik’s cube apart down to an art. Never ever solved the thing….

    Did anyone watch “Pursuit of Happyness”? The extras were great! Kids doing Rubik’s cubes in about 15 seconds and one guy who could solve it BLINDFOLDED in 2 minutes. He did some kind of algorhythm in his head after analzying where the dots were. Amazing, jaw dropping stuff!

    ~Bethy

  6. Does anyone know the simplest algorithm to teach someone else? My grandma wanted to learn how to solve a Rubik’s cube but I haven’t been able to find clear enough explanations. I’ve never been able to do it myself.

  7. pc, leave your email and I’ll be glad to teach you guys how to solve it.

  8. Perhaps the answer to life, the universe, and everything was not 42 after all.

  9. If any of you want to know how to solve a rubik’s cube, check out youtube and type in how to solve a rubik’s cube. There’s a very good instructional video on how to solve the thing. After a couple of run through’s it makes sense

  10. dud! i friggin searched it and solved it in 22 moves!!!!!!!!!! HOLY CRAP!!!!!!
    DUDE, IM FRAKIN OUT!!!!

Comment

commenting policy