Slashdot Mirror


Rubik's Cube Now Solvable in 20 Moves

A few years ago we reported that it had been proven that Rubik's Cubes could be solved in 23 moves. Well now that number is down to just 20. Proving it required 35 years of computer time donated by Google to get it done.

71 of 309 comments (clear)

  1. Enough! by 2names · · Score: 5, Funny

    Enough with the Rubik's cube junk, someone please tell us how to unhook a bra with *1* move.

    --
    "I'm just here to regulate funkiness."
    1. Re:Enough! by Monkeedude1212 · · Score: 5, Funny

      Easy.

      Step 1:
      Unhook the bra

      It's all relative - what do you consider 1 move? I came across this argument during my first DnD session, and subsequently, haven't played it since.

    2. Re:Enough! by Pojut · · Score: 3, Funny

      You gotta do what I did in 8th grade...find a girl who wanted to learn how to unzip a fly with one hand, and was willing to let you practice taking her bra off with one hand.

      I haven't seen her in well over a decade, but I hope her training paid off. I know mine did!

    3. Re:Enough! by 2names · · Score: 4, Funny

      All good /.'ers seek knowledge. Whether we ever get to *use* that knowledge is another discussion.

      --
      "I'm just here to regulate funkiness."
    4. Re:Enough! by Jurily · · Score: 5, Insightful

      Tell her to take it off.

    5. Re:Enough! by UnanimousCoward · · Score: 2, Informative

      Are you new here? This is /. so, it should be listed here :-)

      ...someone please tell us how to unhook a bra with *1* move...

      --
      Twelve-and-three-quarter inches. Unyielding. This wand belonged to Bellatrix Lestrange.
    6. Re:Enough! by russotto · · Score: 3, Informative

      Start with your right arm behind the wearer. Make sure your thumb is on the reinforced section holding the clasp, behind the clasp, on the side to your right. Your index and middle finders should be in a similar position on your left. Squeeze your thumb and the index and middle finger towards each other, while also pressing slightly in (towards you) with your arm. The bra should now be unhooked.

      (Lefties use your left hand and switch left and right above.)

    7. Re:Enough! by MikeBabcock · · Score: 4, Funny

      Placing the hand such that the forefinger is bent against the section of the bra closest to the back and the thumb is over the piece in the foreground with the hooks, slide in the detaching direction with the thumb.

      Alternatively, just ask her to take it off for you ... but that may be a problem if you didn't actually know the girl on the bus in the first place.

      --
      - Michael T. Babcock (Yes, I blog)
    8. Re:Enough! by Monkeedude1212 · · Score: 4, Funny

      Are you kidding? You expect him to talk to a girl?

      He actually only needs to know how to unhook a bra because it's currently holding a bundle of Cat6 together.

    9. Re:Enough! by Surt · · Score: 4, Funny

      That's just unhooking, not removing. Removing in one move is best accomplished through the brute force method. Grab the side opposite the clasp and yank hard.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    10. Re:Enough! by Junior+J.+Junior+III · · Score: 3, Funny

      # sudo take it off

      --
      You see? You see? Your stupid minds! Stupid! Stupid!
    11. Re:Enough! by TheVelvetFlamebait · · Score: 2, Funny

      But I haven't programmed in that command just yet!

      --
      You know, there is a difference between trolling and pointing out the flaws in your reasoning. Just saying.
    12. Re:Enough! by clone53421 · · Score: 2, Interesting

      Unzipping a fly with one hand is a bit like tying shoes.

      You’re an expert at tying shoes? Now go try tying someone else’s shoes.

      --
      Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
    13. Re:Enough! by Nadaka · · Score: 3, Insightful

      Sometimes they like to be told what to do.

      This only applies in the bedroom.

      In all other circumstances they prefer to be the one telling you what to do.

    14. Re:Enough! by Pojut · · Score: 3, Insightful

      I don't think any of them cared that I did it one hand vs two hands...they just cared that I did it quickly. Being able to unhook a bra while having the other hand free to do...uh...other things was nice though :)

      Of course, the danger of trying to do it with one hand was if you screwed up or if they had a really wonky bra, suddenly you had to bring your other hand into the equation. That was impossible to do without looking like a moron. If you already started with two hands, that's fine...but if you started with one and ended with two, that meant you thought you were cooler than you actually were -_-;;

    15. Re:Enough! by pha3r0 · · Score: 2, Informative

      I can't speak for every /.'er but I can do with 1 finger in one move. But seriously this is cool.

    16. Re:Enough! by Ngarrang · · Score: 3, Interesting

      More and more women are going braless, or are wearing a sports bra. Gone are the days of the hooks.

      --
      Bearded Dragon
    17. Re:Enough! by selven · · Score: 2, Insightful

      Yes, because chicks dig recursion.

    18. Re:Enough! by Anonymous Coward · · Score: 2, Insightful

      More and more women are going braless, or are wearing a sports bra. Gone are the days of the hooks.

      Why should we, heterosexual men, be denied that childlike pleasure of opening something to see what kind of prize you'd received? When we were younger, it was a toy in a cereal box, now that we're older the cereal box has been replaced with a bra and the toy, well, I guess you still play with breasts.

    19. Re:Enough! by Anonymous Coward · · Score: 4, Funny

      and the toy, well, I guess you still play with breasts

      Yeah, and my mom isn't there to tell me not to put them in my mouth.

    20. Re:Enough! by Abstrackt · · Score: 4, Funny

      You do realize that some of them have FOUR hooks, right? Sure it is easy on the one or two hook models for the smaller chested women. But on the 4 hook models for the larger chested - I defy you to do it with one hand in one "move"...

      Bring me a large-breasted woman and I'll show you how it's done!

      --
      They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance. - Terry Pratchett
    21. Re:Enough! by IAmGarethAdams · · Score: 4, Funny

      Why are you running sudo at a root prompt?

    22. Re:Enough! by guyminuslife · · Score: 5, Funny

      I'm imagining this game session.

      You: "Alright, I'll unhook the wood nymph's bra."
      DM: "Okay, how do you do that?"
      [rest of gaming group listens intently]
      You: "Umm...I just, you know, unhook it?"
      DM: "Okay, we'll say it takes three rounds."
      You: "It doesn't take three rounds to unhook a bra!"
      DM: "Well, it takes your character three rounds."
      You: "That's bullshit. Have you ever done it?"
      DM: "SILENCE! YOU ARE BANISHED FROM DUNGEONS AND DRAGONS FOREVER!"

      --
      I don't believe in time. It's a grand conspiracy designed to sell watches.
    23. Re:Enough! by maxwell+demon · · Score: 2, Funny

      I never said it wasn’t easy. What isn’t easy is doing a “mirror symmetric problem” with no practice.

      Saying the alphabet backward is easy too, but that’s because I practiced it.

      zyxwvutsrqponmlkjihgfedcba

      No, the alphabet backwards is of course:

      tebahpla eht.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    24. Re:Enough! by ArsonSmith · · Score: 3, Funny

      shouldn't that be

      1) unhook bra
      2) ???
      3) loss (child support, alimony, daycare, etc...)

      but step 2 was fun.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    25. Re:Enough! by BlueParrot · · Score: 2, Funny

      You know we also tend to really dislike? Having people assume they know what we want as if we were all the same.

  2. The exact sequences by Drakkenmensch · · Score: 4, Funny

    Moves 1 through 19: repeatedly hit cube with hammer

    Move 20: reassemble the smashed bits into a solved cube.

    Warning: Your cube may or may not remain functional through use of this solution.

    1. Re:The exact sequences by MozeeToby · · Score: 4, Funny

      1) Turn one face 45 degrees
      2) Pry upward on one middle edge piece until it pops out
      3) Remove all edge and corner pieces
      4) Put the cube back together, but flip exactly 1 edge piece
      5) Give it to someone who knows how to solve it
      6) Laugh maniacally when they just can't seem to get that last piece where it belongs.

    2. Re:The exact sequences by Drakkenmensch · · Score: 4, Funny

      Your method, while functional, shows a decided lack of hitting the cube with a hammer. Where's the fun in that?

  3. Re:Thank God! by mastershake82 · · Score: 2, Insightful

    1. Allocate computer time to cancer. 2. ??? 3. Cure cancer!

  4. There is a good reason by calderra · · Score: 5, Interesting

    I know it won't stem the tide, but this is good research. I'm sure there are a million other algorithms in the world that can benefit from this. Shortcuts they had to invent to make sure they were using minimal processing time, full understanding of how much money and time it really took to get this process done to make other projects more practical, etc etc. This sort of thinking, even if silly on its own, has a broad range of applications.

  5. Re:Thank God! by ceejayoz · · Score: 2, Insightful

    Cancer is unlikely to be cured via brute-force computing. If you've got a computational problem that would help towards a cancer cure, have you asked Google to donate time for it?

  6. Re:The REAL story here: by Jurily · · Score: 2, Funny

    Oh, they had that for centuries.

  7. Another way of thinking about this. by dmomo · · Score: 4, Informative

    The shortest path between any two configurations (be them solved or not) on a graph of all possibilities will be no greater than 20.

    1. Re:Another way of thinking about this. by Sir_Lewk · · Score: 3, Insightful

      As far as I can tell, by simply redefining "solved" any state should be reachable from any other in 20. There's nothing particularly special about all the colours being on the same sides.

      1) start from any scrambled state, call it "solved"
      2) scramble the cube
      3) "solve" in 20 moves.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    2. Re:Another way of thinking about this. by clone53421 · · Score: 2, Informative

      Note that the arrangement is not fully arbitrary: there are some arrangements which it is impossible to reach. Not only of the stickers, either (everyone knew that you could make a cube unsolvable by moving the stickers around, right?): it is possible without moving any of the stickers to arrange the pieces themselves in such a way that it is impossible to reach the solved state without taking the cube apart again.

      However, among reachable arrangements, your statement is valid. I suspect you probably knew that, but other people mightn’t have.

      --
      Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
  8. Re:Thank God! by beelsebob · · Score: 4, Insightful

    Yes, you're right, we should devote all our time to getting ourselves to live longer, and none of our time to making our lives more interesting and enjoyable. That'll make a lovely world, won't it.

  9. 35 years of computer time by Culture20 · · Score: 3, Insightful

    How about measuring that in actual computer usage? X MHz on Y cores per Z nodes over A hours? Or at least say it would have taken one X MHz processor 35 years to compute it. Computer-hours are nothing line man-hours or horse-power. At least those have good limits to their vagueness. Computer-time might as well be arthropod-lengths (are we talking dust mites or ancient giant sea-scorpions?).

    1. Re:35 years of computer time by rawler · · Score: 2, Informative

      Except clock-cycles, which is what you get from your equation, is also not a good measurement of "computer usage".

      However, Google Tech Talks had a rather nice explanation of the algorithm and core mechanics for solving the problem a couple of years ago. Quite interesting for anyone in supercomputing, or just plain old curiosity.

      http://www.youtube.com/watch?v=WQw7c-PliB4

    2. Re:35 years of computer time by Da+Cheez · · Score: 2, Informative

      This is explained. From TFA: Finally, we were able to distribute the 55,882,296 cosets of H among a large number of computers at Google and complete the computation in just a few weeks. Google does not release information on their computer systems, but it would take a good desktop PC (Intel Nehalem, four-core, 2.8GHz) 1.1 billion seconds, or about 35 CPU years, to perform this calculation.

  10. Re:Thank God! by Jurily · · Score: 3, Funny

    Step 2 would be "Not die until step 3", I think.

  11. Why approximate numbers? by Romario77 · · Score: 3, Insightful

    They give the distance and number of positions for the cube here: http://www.cube20.org/ What I don't understand is why they have only approximate number 20 moves - from the article on the link above I understand that they solved all of the 20-moves combinations so they must know the exact number of those combinations

    1. Re:Why approximate numbers? by thehickcoder · · Score: 2, Insightful

      I believe the article said their solution algorithm did not search for optimal solutions, only for those that are 20 moves or less. (It has already been proven that there exist positions that can not be solved in less than 20 moves)
      So, they can probably give an upper bound on the number of positions solvable in 20 moves, but not an exact number.

    2. Re:Why approximate numbers? by grimJester · · Score: 2, Informative

      They quit testing moves when they found a solution in 20 moves for a given starting state. This means they don't know if a given starting state requires 20 moves. There may be an 18-move solution that they missed.

    3. Re:Why approximate numbers? by Pixie_From_Hell · · Score: 3, Informative

      No, they've proved that the superflip (the position where all the edge pieces are flipped and the corners and centers are in place) is 20 face turns from solved. Thus before this new work it was already known that the general solution required at least 20 face turns, and this work says that 20 is sufficient. So 20 it is!

  12. Re:Thank God! by jridley · · Score: 5, Informative

    Don't have to, World Community Grid has already been doing cancer cure grid computing for years.
    This one is complete:
    http://www.worldcommunitygrid.org/research/hdc/overview.do

    These two are still running:
    http://www.worldcommunitygrid.org/research/hcc1/overview.do

    http://www.worldcommunitygrid.org/research/hfcc/overview.do

  13. Re:Thank God! by Anonymous Coward · · Score: 5, Funny

    Thank God!

    And cancer? Still unsolved. I'll bet computer time could be used for that too.

    It can be shown that a cure for cancer can easily be derived from a method of solving any Rubik's cube in 19 moves.

  14. Re:Thank God! by Pantero+Blanco · · Score: 5, Insightful

    Thank God! And cancer? Still unsolved. I'll bet computer time could be used for that too. (sorry, bullsh*t like this hits very close to home for me recently. Nothing like having people dying, and then hearing how we are using resources for utter crap)

    I don't think the limiting factor in cancer research is lack of computer time. If it were something so simple, getting the resources wouldn't be a problem.

    Your raging is pointless.

  15. Re:Thank God! by TheGeneration · · Score: 2, Insightful

    Does this mean that it was somebody's JOB at Google to figure this out?

    --


    The Generation
    I'd say something witty here, but I'm not that bright.
  16. Re:Thank God! by kg8484 · · Score: 2, Interesting

    If you've got a computational problem that would help towards a cancer cure, have you asked Google to donate time for it?

    No, he'd rather just complain. It's much easier to criticize researchers than to do the research yourself.

  17. Re:Thank God! by Frank+T.+Lofaro+Jr. · · Score: 3, Insightful

    Yes, you're right, we should devote all our time to getting ourselves to live longer, and none of our time to making our lives more interesting and enjoyable. That'll make a lovely world, won't it.

    That's what the lifestyle police are pushing for.

    Eat food that tastes like cardboard, run like rabbits, and take pills based on how long they'll help you live (never mind quality of life - e.g. so hormone therapy for women is out - can't have 1 more heart attack per hundered even if it makes life bearable for the other 99) and you'll live longer or at least it will feel like it.

    --
    Just because it CAN be done, doesn't mean it should!
  18. They're counting double moves as one by BitterKraut · · Score: 2, Interesting

    I wouldn't say they're cheating, but I am a bit dissatisfied with their way of counting moves. Rotating a face by 180 degrees is not an elementary move to me. I'd like to know god's number in elementary moves.

    1. Re:They're counting double moves as one by Pixie_From_Hell · · Score: 2, Informative

      They are just different metrics. What you're talking about is the quarter turn metric, and this proof is about the face turn metric. There is apparently a position that is known to be a distance 26 quarter turns from solved, so your answer would be at least 26.

  19. Re:35 years of computer time?!?! by Skippyboy · · Score: 2, Informative

    Finally, we were able to distribute the 55,882,296 cosets of H among a large number of computers at Google and complete the computation in just a few weeks. Google does not release information on their computer systems, but it would take a good desktop PC (Intel Nehalem, four-core, 2.8GHz) 1.1 billion seconds, or about 35 CPU years, to perform this calculation.

    From the article. They are guessing based on a known configuration how long it would take.

  20. Re:Thank God! by Abstrackt · · Score: 3, Insightful

    Yes, you're right, we should devote all our time to getting ourselves to live longer, and none of our time to making our lives more interesting and enjoyable. That'll make a lovely world, won't it.

    I agree completely. After watching so many people "live" well past their prime I'd much rather have a good life and a fast death.

    --
    They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance. - Terry Pratchett
  21. Re:The REAL story here: by hedwards · · Score: 2, Insightful

    100 man hours? Is that like 9 pregnancy months?

  22. 35 years by redmond · · Score: 2, Funny

    I've also been working on solving the Rubik's cube for 35 years. It's taken me 63,412,452,120 moves and I have one side solved and a line on another side.

    --
    :wq
  23. Re:Thank God! by adamjgp · · Score: 3, Insightful

    Thank God! And cancer? Still unsolved. I'll bet computer time could be used for that too. (sorry, bullsh*t like this hits very close to home for me recently. Nothing like having people dying, and then hearing how we are using resources for utter crap)

    Guess you should be using your spare cycles to help cure cancer. Lead by example instead of using your resources for the utter crap that is posting on slashdot!

  24. Re:Thank God! by clone53421 · · Score: 2, Funny

    making our lives more interesting and enjoyable

    It appears that you have never watched me attempt to solve a Rubik’s cube.

    --
    Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
  25. Laplace Transforms for Rubik's cube... by clone53421 · · Score: 2, Insightful

    To answer that question, you need to ask whether there is something inherently special about the “solved” state.

    Or, to put it differently:

    1) Begin in state A
    2) Re-arrange stickers into a corresponding state X, such that state A maps directly to state X in a particular transformation system
    3) Solve from state X to S (max. 20 moves)
    4) Re-arrange stickers using the same transformation system in reverse, obtaining state B, which mapped to state S in that transformation system

    Now, if your transformation system was consistent, you should be able to omit steps 2 and 4, going straight from A to B in 20 moves.

    QED.

    --
    Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
  26. Re:Thank God! by Beardo+the+Bearded · · Score: 2, Funny

    When I was about six years old, my cousin challenged me to solve a scrambled Rubik's Cube. The family figured it would keep me busy for hours.

    I solved it in the fastest possible way: I pulled off every sticker and put them on the right sides.

    Problem solved; it wasn't MY fault they didn't define the problem properly.

    --

    ---
    ECHELON is a government program to find words like bomb, jihad, plutonium, assassinate, and anarchy.
  27. How much computing power is this, really? by Entropius · · Score: 4, Informative

    35 years is about 300k core-hours, a standard measure of computing resources. This is a big pile of computer time, but is not unreasonable.

    So how much does this cost?

    A typical supercomputer, Ranger, cost $59 million to build and operate for four years. It's got about 60k cores, so $59 million delivers 240k core-years; they used 35 core-years to do this computation. Doing the division, you get $9000 of computer time -- not all that bad. Plugging in the cost numbers for another production supercomputer, Kraken, gives a slightly lower cost.

  28. Obligatory XKCD by ryzvonusef · · Score: 2, Funny

    Get out of 2names' head, Randall!
    http://xkcd.com/457/

    --
    I am an ACCA student. Got a query on Accountancy/Finance? Maybe I can help!
  29. Re:Thank God! by mpeskett · · Score: 2, Informative

    "It's a problem that can't be prevented" and "it's a problem that can't be solved" are two rather different things. So it's caused by undesirable mutations as a result of radiation/chemicals/viruses... doesn't mean we can't fix it once it happens. That being more or less the definition of a cure - a fix you apply to a disease after you already have that disease.

    I doubt we'll ever have a vaccine for cancer, for the reasons you mentioned, but a cure... a cure could be achieved.

    Although rather than 1 cure for all cancer, it'd be more like hundreds of cures for all the different ways a cell can malfunction in a cancerous way. There may be a similar end result, but there's a lot more than 3 specific mutations that can produce a cancer.

  30. Re:35 years?!!! by Bigjeff5 · · Score: 2, Informative

    Obviously the "computer" is one of Google's datacenter machines, which you could equate to a modern enterprise level server. Being too specific doesn't help nearly as much as you think it does. Furthermore:

    1 computer running for 35 years = 35 computer years.

    35 computers running for 1 year = 35 computer years.

    70 computers running for 6 months = 35 computer years.

    140 computers running for 3 months = 35 computer years.

    420 computers running for 1 month = 35 computer years.

    12,600 computers running for 1 day = 35 computer years.

    Google gave them 35 computer years worth of time on one of their clusters, for all we know it could have been an hour of total time on the cluster (though that would be 300,000+ machines, so probably not). It probably wasn't more than a few months of actual time calculating.

    --
    Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
  31. Re:Thank God! by Entropius · · Score: 3, Interesting

    There's a movement in health research now geared at extending what they call "healthspan" rather than just "lifespan" -- not "how long does this dude keep breathing", but "how long can we keep this dude active and happy"?

    Turns out that many of the things that make people live longer also make their late years healthier. My grandfather is 94 and still travels the world with his girlfriend (a spry young 75, but he'll never see her again now that she's taken up Farmville). He got prostate cancer a few years ago (and colon cancer a few decades ago), received aggressive treatment for it, and is now cancer-free and healthy.

    Old does not *have* to mean feeble. Sometimes it does, of course, and that's bad; this is why we should look at healthspan rather than lifespan.

  32. Re:Thank God! by interkin3tic · · Score: 4, Informative

    That's where you are wrong. There is a lack of resources, funding, and computers cycles. There have been cycles running for years. I know cancer researchers, and I've donated time, money, and my computer cycles

    While all research could use more funding, cancer research has to be one of the best-funded research fields out there. It's either that or defense. It lacks funding like I lack funding because I can't buy a mansion.

    Could you be more specific as to what those cycles were for? I'm guessing they were for protein folding, which is essential and good research but is not going to directly find a cure. If google had run all it's computers on protein folding, we'd likely be only marginally closer to a cure for cancer.

    The limiting factor in cancer research is -not- computing time. A bigger one is the fact that there are many different types of cancer, and the biggest one is that it's incredibly difficult to kill millions of any one type of cell without killing a lot of other cells in a human body. For most of our history, we had no idea how to specifically kill bacterial cells in a human body. It's still an issue.

    Great job though moderators, bump up misinformation. You'd rage too if you were 34 and had to deal with this shit. And watch, I'll get marked as Troll again, even though I'm not and have a great post history. Whatever.

    You're also going to get modded troll because you were asking for it. If you're 34 you should have at some point learned how to calm down and not take things so seriously.

  33. Re:Thank God! by Alyred · · Score: 2, Interesting

    Indeed... once you pop one of the corners out with a flathead screwdriver, the rest come out pretty easily. The bad part is that after a few times doing this, the plastic becomes a bit worn and the edges won't hold the cubes in as well. It becomes patently obvious that the cube has been disassembled; a few more times and the cube starts to fall apart when turned and twisted normally. Or maybe I just got cheap models as a kid.

  34. Re:Thank God! by chronosan · · Score: 2, Funny

    It's REAL science! Hemp also cures cancer and water fluoridation is really dumping toxic waste in our water supply. The moon landings were faked too because they took too many nice pictures, and the smallpox vaccine is actually made from cowpox, so there's no chance it could possibly create the same antibodies needed to kill smallpox. Also, joint pain can be cured remotely by any well-trained chiropractor.

  35. Re:Schrödinger's solution: by Rhaban · · Score: 2, Informative

    In fact, Schroedinger's cat story was meant to show that quantum physics was just a model, and particles were not really in two different states simultaneously. But most people understood it the wrong way, and now most mentions of the cat experiment promote the oposite idea of what was the initial goal.

  36. Lower bound = upper bound (finally!) by johny42 · · Score: 4, Informative

    Actually, this is a much more important result than the summary claims. Until now, there was always a gap between the proved lower bound and upper bound on necessary moves. They now proved that the known lower bound (20, proved in 1995) is also an upper bound (ie. there is no position which requires 21 or more moves to solve) and thus concluded research that lasted for 30 years.

    This article could very well be listed on the Slashdot main page, it has nothing to do in Idle. The algorithms that were designed during this research are nothing to laugh at and will surely advance other research fields as well.