Slashdot Mirror


Rubik's Cube Algorithm Cut Again, Down to 23 Moves

Bryan writes "The number of moves necessary to solve an arbitrary Rubik's cube configuration has been cut down to 23 moves, according to an update on Tomas Rokicki's homepage (and here). As reported in March, Rokicki developed a very efficient strategy for studying cube solvability, which he used it to show that 25 moves are sufficient to solve any (solvable) Rubik's cube. Since then, he's upgraded from 8GB of memory and a Q6600 CPU, to the supercomputers at Sony Pictures Imageworks (his latest result was produced during idle-time between productions). Combined with some of Rokicki's earlier work, this new result implies that for any arbitrary cube configuration, a solution exists in either 21, 22, or 23 moves. This is in agreement with informal group-theoretic arguments (see Hofstadter 1996, ch. 14) suggesting that the necessary and sufficient number of moves should be in the low 20s. From the producers of Spiderman 3 and Surf's Up, we bring you: 2 steps closer to God's Algorithm!"

24 of 202 comments (clear)

  1. I still can't do it. by ASMworkz · · Score: 5, Funny

    Call me when it's down to 10 moves! :)

    --
    Learn about Programming (C++ ASM) and Web Design and Development (PHP, CSS, Photoshop) from InfernoDevelopment.com
    1. Re:I still can't do it. by Hankapobe · · Score: 5, Funny

      Call me when it's down to 10 moves! :)

      I can do it in one .... I outsource it.

    2. Re:I still can't do it. by Kjella · · Score: 5, Funny

      I can do it in zero, I just declare that it's fine just the way it is and accuse anyone that tries to argue otherwise for being segregationists trying to keep all the different colors apart.

      --
      Live today, because you never know what tomorrow brings
    3. Re:I still can't do it. by fizzup · · Score: 4, Funny

      Call me when it's down to 10 moves! :)

      I can do it in one .... I outsource it.

      I can solve it faster .... I defenestrate it.

    4. Re:I still can't do it. by Daimanta · · Score: 4, Funny

      Yes, but does the window run Linux?

      Please, disregard the previous sentence.

      Please, disregard the previous sentence.

      --
      Knowledge is power. Knowledge shared is power lost.
    5. Re:I still can't do it. by Fishead · · Score: 4, Funny

      I like to buy a new one, solved, and in the package, then using some CA (krazy glue) glue it together so nobody can "un-solve" it.

    6. Re:I still can't do it. by SQLGuru · · Score: 4, Funny

      This post intentionally left blank

  2. That's quick by ricebowl · · Score: 5, Funny

    And here I used to think my method was faster; but since there's more than 23 stickers on the cube I guess it ain't any more...

    1. Re:That's quick by Tumbleweed · · Score: 4, Funny

      And here I used to think my method was faster; but since there's more than 23 stickers on the cube I guess it ain't any more...

      This would definitely faster than my method of taking it apart and reassembling it in the correct order.

    2. Re:That's quick by Chris+Burke · · Score: 5, Funny

      I just buy a new one.

      --

      The enemies of Democracy are
  3. I can always do it.... by Brad1138 · · Score: 4, Funny

    in 48 moves or less. Luckily the center sticker is always in the right place so I don't need to move that one.

    --
    If you could reason with religious people, there would be no religious people
  4. Or... by Anonymous Coward · · Score: 5, Insightful

    "Combined with with some of Rokicki's earlier work, this new result implies that for any arbitrary cube configuration, a solution exists in either 21, 22, or and 23 moves"

    Or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or and 20 moves.

    1. Re:Or... by this+great+guy · · Score: 4, Funny
      You could share the script you used to output that sentence...

      #!/bin/sh echo "Or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or and 20 moves."

  5. 18 moves is the limit by BadAnalogyGuy · · Score: 4, Informative

    Mathematically, the limit is a hard 18 (by faces): 6^2 / 2. alternatively by squares per face: ((9 * 6) / 3) ^ 2 / (2^2)

    The math isn't hard. It's finding those correct 18 moves that is.

    1. Re:18 moves is the limit by IWannaBeAnAC · · Score: 4, Informative

      No, that is just a lower bound: by counting the number of possible configurations it can be shown that there exists at least one configuration that takes 18 or more steps to solve. It says nothing about an upper bound, which could (and is!) somewhat larger.

  6. Solvable? by CastrTroy · · Score: 5, Interesting

    The summary says for every solvable cube. What does that mean. Every configuration is a solvable one. If you remove a corner and rotate it, and place it back in the cube, the cube is no longer solvable, but I would argue that it's no longer a rubik's cube either.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    1. Re:Solvable? by pwnies · · Score: 5, Funny

      It may not be a rubiks cube, but it would be quite humorous if strategically placed in an "Obsessive Compulsive Puzzle Solvers Anonymous" meeting.

    2. Re:Solvable? by ampathee · · Score: 4, Insightful

      Not really. Anyone who could solve a cube would find the rotated corner in a minute or two. My group of friends were into rubiks cubes a few years ago, and that trick got old fast.

  7. Re:LET THERE BE THREE moves... by GoodNicksAreTaken · · Score: 4, Funny

    3. PROPHET
    That must be part of the God's algorithm the summary mentions.
  8. Only one move required... by FoolsGold · · Score: 5, Funny

    Blend the fucker - http://www.youtube.com/watch?v=NrqHHBibRvs

    There, saved you from another 22 pointless moves.

  9. Easy by camperdave · · Score: 4, Funny

    Call me when it's down to 10 moves!

    Step 1: Drop cube in can of paint. Done.

    --
    When our name is on the back of your car, we're behind you all the way!
  10. Do the math, quick! by HiggsBison · · Score: 5, Funny

    And here I used to think my method was faster; but since there's more than 23 stickers on the cube I guess it ain't any more...

    So that would be, um, each face is three by three, um, nine stickers on each face. Then multiply that times the number of sides, so six times nine would be, uh, ...

    Forty two.

    --
    My other car is a 1984 Nark Avenger.
  11. Recapping what it means by Anonymous Coward · · Score: 5, Informative

    When the limit was proved to be no worse than 25, there were lots of comments on Slashdot that misunderstood various aspects of what this means.

    Here are clarifications for some common points of confusion:

    1. What Tom has shown, that "an arbitrary cube can be solved in 23 moves", it means the nastiest legal cube needs no more than 23 face turns to solve. Obviously many starting configurations can be done in less.

    2. This type of research doesn't tell you WHICH 23 moves. Only that it's 100% certain that there exists a 23-moves-or-shorter solution, for any legal cube.

    3. It's easy to figure out the total number of permutations of the cube. Given that, it can be determined that 17 face-turns doesn't produce enough different permutations, but 18 does, so there is a definite lower bound of 18 moves, that is, there exists at least some configurations that MUST be 18 moves or more away from solved.

    4. Specific configurations have been found that provably need 20 face turns to solve. So the worst-case will never get better than that.

    5. It may be possible to narrow the limit further, showing that all cubes can be solved in 22 face turns or less. Maybe 21. Maybe 20. It will never get lower than that.

    Put succinctly, as of today, the worst-case number of face-turns to solve a cube is no worse than 23. It's been known for a while that the worst case is no better than 20.

  12. my best time -1 min by ami.one · · Score: 5, Funny

    As a kid my best time was 1 min ! Used to just take off all the stickers on all faces and put them back in correct order. Friends were confused though as to why i want to solve it alone in a room and not in front of them.