Algorithm Solves Rubik's Cubes of Any Size
An anonymous reader writes with this excerpt from New Scientist: "Only the most hardcore puzzle-solvers ever go beyond the standard 3x3x3 Rubik's cube, attempting much larger ones. Now an algorithm has been developed that can solve a Rubik's cube of any size. It might offer clues to humans trying to deal with these tricky beasts. Erik Demaine, a computer scientist at the Massachusetts Institute of Technology has found that the maximum number of moves that will ever be required for a cube of side n is proportional to n/log n. 'It gives me a couple of ideas how to solve this thing faster,' says Stewart Clark, a Rubik's cube enthusiast who owns an 11x11x11 cube."
It's n^2/log n.
My
Fuck you. Every fucking time I have my cube on the streets HURR DURR STICKERS
Does it scale to >3 dimensions?
Kinda... http://en.wikipedia.org/wiki/Combination_puzzles#Irregular_cuboids
Only if you assume each cell is of the same dimension. You could very well have a cube that is 3x4x5 cells. Although it wouldn't work as a Rubik's Cube.
Back on topic.. I'm pretty sure I saw a 50x50x50 or something solved by software on YouTube.. is this algorithm bringing something new to the table, or...?
I can solve a Rubik's cube in less than 30 seconds. How long does it take to pull off the stickers and put them back on?
"All tyranny needs to gain a foothold is for people of good conscience to remain silent." [Thomas Jefferson]
Unfortunately, the stickers won't stick after awhile. I used to take it apart and put it back together again.
"Be grateful for what you have. You may never know when you may lose it."
If you can remove the 54 stickers on a 3X3 cube and re-attach them in 30 seconds, I may be more impressed than I am with this guy's algorithm.
You stereotypers are all the same...
Back in the 80s when the cube was new and popular, I was really into it. IIRC, I got my times down under 3 minutes. Yeah, I know. Pretty pathetic by today's standards.
Anyway, somebody gave me a cube to solve once. After about 15 or 20 minutes it dawned on me that I had an impossible cube. Somebody who thinks they're moving closer to the solution by swapping stickers can do something like put the white sticker on a corner cubie with the blue sticker, not realizing that white and blue are always on opposite sides.
For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
I've been working on my 60x60x60 cube for 17 years now and have 5 cublets in place on one side. This news has ruined my day :-( At my current rate I am never going to finish according to TFA, especially since I am essentially just doing random moves. Damn.
I used to do that too. Unfortunately the whole thing gets too loose if you pull it apart too many times.
They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance. - Terry Pratchett
According to this, at least 2700 people can solve a rubik's cube in 30 seconds. The fact that one of them is on Slashdot wouldn't be particularly surprising.
The headline claims they can "solve" any Rubik's cube, but who cares? You can solve it just by performing random moves.
The import part is NOT solving it, it's that they can do it in the minimum number of moves.
Can you prove that?
Hint: Random moves has a number of infinite move cases that never get solved.
Why can a cube not be composed of 3x4x5 cells so long a the cells are sized such that the cube is well, a cube?
What would be particularly surprising, would be if only one of them was on Slashdot.
I used to go out and buy a new rubix cube. Unfortunately you run out of money if you do it too many times.
Divide a cake by zero. Is it still a cake?
Once you can solve a size 4 and size 5 cube, all larger sizes are obvious generalizations of the same algorithm. (At least, for the algorithm I use it is so.) I've seen an edited video of someone solving a (computer simulated) size 100 cube. So the fact of a "general algorithm" is not news.
That it is an efficient algorithm and sets a new* upper bound on how many moves you need is interesting. (This upper bound is proportional to (n^2/log n), not (n/log n) as stated in the summary.)
* I don't follow cubology that closely, so I'm taking their word for it that this is a new upper bound.
Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
This system and method for solving a Rubik's cube is a social media networking plug-in widget that synergizes, optimizes, and rightsizes the Rubik cube solving experience, utilizing HTML5/CSS3/JS code in a novel and innovative way to provide end-users with a single, solidified and parsimonious User Interface (UI), optimized for the User Experience (UX), utilizing Information Architecture (IA), over 256bit SSL security. It is built on a 100% cloud-based, distributed OS, independent architectural framework and uses the actual "internet" to facilitate communication between said end-user's "keyboard", to our proprietary "software", and back to end-user's "monitor".
sysadmins and parents of newborns get the same amount of sleep.
Why can a cube not be composed of 3x4x5 cells so long a the cells are sized such that the cube is well, a cube?
Because when you try to rotate the five-cell face, e.g., you'll be trying to move some of the cubelets from the four-cell face to the 3-cell face and vice versa. You'll have four cells trying to match up to 3 cells and vice versa. That may work, but if you then try to rotate the four-cell face, you'll be trying to move fractional cubelets.
Personally, I'll be impressed when the algorithm handles 50x50x50x50 Rubick's Hypercubes (patent pending).
-After the researchers solve the 3x3x3-
Buttercup: We'll never succeed. We may as well die here.
Westley: No, no. We have already succeeded. I mean, what are the three terrors of the General Cube Solution? One, the pieces coming off - no problem. There's a popping sound preceding each; we can avoid that. Two, the stickers peeling off, which you were clever enough to discover what that looks like, so in the future we can avoid that too.
Buttercup: Westley, what about the R.O.U.S.'s?
Westley: Rubik's Of Unusual Size? I don't think they exist.
-- Immediately, Westley is attacked by a 4x4x4 cube --
I once solved a 1x1x1 rubik's cube! ;-;)
(I cheated and took the stickers off
Has someone notified the Borg?
Lack of support for 20 year-old standard is usually just annoying as hell, but in this case it's actually caused the summary to be wrong. For a site that frequently discusses such topics as technology, math and language (for all of which Unicode is an important part—at least insofar as even being able to TALK about these subjects) there is absolutely no excuse for not doing Unicode.
As far as I'm concerned Slashdot ought to be able to render MathML too.
Take off every sig. For great justice.
required for a cube of side n
I don't even want to think about solving a cube with n sides. Not to mention, how a cube ever got n sides to begin with...
I could only ever manage to get 5 out of the 6 sides :(
Only if the sequence is infinitely long.
File under 'M' for 'Manic ranting'
You should probably qualify that a little... for example, any normal rubik's cube, or any rubik's cube that hasn't been tampered with, or something similar... it is actually very easy to make any rubik's cube completely and permanently unsolvable.
File under 'M' for 'Manic ranting'
it is actually very easy to make any rubik's cube completely and permanently unsolvable
Only if "make" involves operations that "solve" does not. For instance, a freight train can very easily "make" a Rubik's cube completely and permanently unsolveable.
So can gluing it with crazy glue in an unsolved position... as can taking it apart and switching the orientation of exactly piece. There are many ways to make a rubik's cube that looks perfectly fine impossible to solve.
File under 'M' for 'Manic ranting'
It seems boring to me to just extend the size in 3 dimensions. What about extending it beyond three dimensions?
My point was more that any cube in any position that can be reached by standard moves is solveable by those same standard moves. Obviously, rearranging stickers, disassembling the cube, or introducing outside forces (crazy glue, freight trains) can make the cube "unsolveable" by any possible combination of standard moves.
But that all begs the question: is a Rubik's cube still a Rubik's cube if it's been disassembled, modified, and/or re-assembled in a condition that would be impossible for a Rubik's cube to ever reach? Is a Rubik's cube just a toy with a set of specially interlocking cubes, or is it also a mathematical and geometrical set of rules? I'd say the latter. If you violate those rules, you don't have a Rubik's cube; you have something that superficially resembles a Rubik's cube, but isn't one. Therefore there's no reason to make special exclusion for tampered cubes when you make general statements such as:
Now, it makes sense that any Rubik's cube can be solved
-because it goes without saying.
I can do it in under a 90 seconds sometimes (and under 60 seconds consistently when I was a kid), and i'm nowhere near the fastest person I know at solving them. 30 seconds isn't unreasonable for someone who is actually good at it.
A Rubik's cube has a finite number of states and a finite number of moves. So I don't understand how performing infinite moves wouldn't eventually result in the solution.
There's no -1 for "I don't get it."
In the latter case, log 3=1.09, and 11.9/1.09=10.9. . . Although the article says the upper bound is proportional to n^2/log n.
Does anyone actually think this is funny?
The article says "the maximum number of moves that will ever be required for a cube of side n is proportional to n^2/logn". It also says "standard Rubik's cube can be solved in 20 moves or less" and then it says Demaine's "first task is to work out how to turn that into an exact number for given sizes of cube." but if the number of moves for n=3 is 20 and the number of moves is proportional to n^2/logn then the number of moves for cubes of any length =kn^2/logn where k=20/(3^2/LOG(3)) = 1.1 . So maximum number of moves = 1.1 n^2/logn (approximately) and Demaine's first task is completed unless he needs exact numbers for each n.
It did, at one point. The problem was the trolls went and ruined it for all of us by embedding all sorts of control characters in post that ended up destroying the flow of a web page and making the text unreadable.
Hell, I think most blogs probably aren't immune to the problem. There used to be one common indication of this because people would force 4 or 5 unicode control characters together followed with a normal character (some strange millions-comma thing).
And it's a pain in the butt, too - you can't search for it, certain operations destroy the characters, so you get very strange behavior.
Easier example. Say you're 10 meters away from your house. If there's exactly a 50% chance to easier take a step forward or backward, the probability that you will never reach your house is greater then 0. If the chance to take a step forward is 50% + epsilon, then that probability goes down to zero.
He's trying to be 'funny' by saying he does it by pulling the stickers off.
(I bet it takes longer than 30 seconds though...)
No sig today...
I used to do it in 30 seconds back in the '80s but last time I tried on it took more like a minute.
There's quite a few people out there who can do it in about 15 seconds average using newer methods. That's probably about the limit for humans.
If you see times lower than that it's because somebody got lucky on one particular solve. Sometimes the pieces just fall into place. I once did it in 19 seconds in front of a crowd of people but it was mostly luck (not that I told anybody that at the time...)
No sig today...
No. That's simply not true. If there is a 99% chance of you stepping *back* and a 1% chance of you stepping *forward*, the probability of you *eventually* reaching your house approaches 100%, eventually. The average time for you to reach your house, however, is really quite long.
Not to anybody with an IQ larger than their shoe size.
No sig today...
You really only need to pull off at most 48 of them.
There are no karma whores, only moderation johns
Yes, but theirs goes up to 11x11x11.
But then it would be no challenge.
Some people can do it under 60 seconds ... with their feet.
http://www.worldcubeassociation.org/results/e.php?i=333ft
If one can solve the 3x3, 4x4 and 5,5 it's relatively simple to solve any sized cube by splitting it into overlapping subcubes and expanding the algorithms. The only real thing, is time, it takes a lot of it.
Agreed entirely.
Slashdot's codebase often feels like a joke to me. My own pet peeve is the discussion threshold slider - it's numbers are *never* correct. Right now on a different browser tab a discussion is saying there's "10 Full, 3 Abbreviated" - whereas it's actually displaying 7 full, and 0 abbreviated. Another is telling me "16 Full, 0 Abbreviated" - that one has the abbreviated count right, but there's only 6 comments visible. The numbers are often so wildly out that they're completely meaningless.
If they can't even manage to do basic counting, I fear there's bugger all chance they'll manage to do unicode any time soon.
I see, the challenge is in remembering the position of the colors on the cube, to avoid someone detecting your cheating after the fact because two colors which were on opposite sides of the cube before now aren't.
The Tao of math: The numbers you can count are not the real numbers.
Draw a square. Now draw a line 1/3rd of the way along the horizontal axis parallel to the vertical axis. Draw another line 1/3rd of the way along the vertical axis parallel to the horizontal axis. You should now have a square that is divided into 1 smaller square, 1 larger square, and 2 equally-sized rectangles. Those rectangles aren't squares, true, but the outer square you began with is still a square.
Extrapolate that to a cube. Cut it up in any way you wish and each individually cut piece may not be a cube itself, but the original shape remains a cube.
Obfuscant already answered the question I figured would follow; why couldn't it be a Rubik's Cube? So I refer you to his post for the answer.
It's a fucking CUBE, why do you need to specify the size of all the dimensions? One dimension is enough for crying out loud. Do you really think you can have a 3x4x5 cube?!
"Suppose someone takes a solved 20x20x20 Rubik's cube and makes five moves - can you figure out [from that scrambled state] what those five moves were?" he asks. In other words, can you solve it in five moves? He suspects that you cannot, but has yet to prove it. "We don't know."
Of course you can solve this cube in five moves--use brute force. It's getting little things like this wrong that makes me dislike journalists so much. If they misinterpret such an apparently simple comment, how wrong is the stuff I can't easily verify or refute?
Currently the record is a person averaging under 7s at the official competitions. I attended one once and saw a guy who averaged around 9s, most people competing (really competing) were around 10-15s, then there was me around 30s (just thought it'd be fun to try). The only girl who showed up to compete got around 2mins.
"All tyranny needs to gain a foothold is for people of good conscience to remain silent." [Thomas Jefferson]
Anyone knows solving a Rubik's cube is impossible.
Actually I may be lying, I believe the one-sized Rubik's cube may be solved for at least dimension 2.
Any piece which can be shifted into another piece's place has to be the same size and shape as the other piece, or it doesn't work right. Yours fails that.
Yes, I'm pretty sure we covered that when I initially said that it wouldn't work for a Rubik's Cube. I though it was made more obvious when Obfuscant explained that to somebody else, too ;) Thanks for the contribution, though