Question

Quickest Rubik's cube sequence

Asked by: InteractiveMind

We'll use the notation:

U  up face (top)
D  down face (bottom)
L  left face
R  right face
F  front face
B  back face.

Then an edge cube is denoted by two faces, e.g. UL. And a corner cube by three, e.g. RFU.
To rotate the left face 90 degrees CW, we'll denote it L+, and CCW, L-, or 180 degrees (either way) L2.


The problem:

Imagine a complete cube but with DF, DR, DB, DL oriented incorrectly (see attached image).
What is the quickest way to complete the cube from here?


So far I've managed to do it in 64 moves*. I tried an online solver, but the best it could do was 84 moves.
Points are available for: i) a quicker solution, ii) proof/evidence that a quicker solution even exists, iii) proof/evidence that this is the quickest solution, iv) a number for the absolute minimum possible number of sequences.

* The winning sequence so far (the spacing reveals a slight repetitive pattern):

R+ L- F+ L+ R- D+   R+ L- F+ L+ R- D+   R+ L- F2 L+ R- D+   R+ L- F+ L+ R- D+    R+ L- F+ L+ R- D2
B+ F- R+ F+ B- D+   B+ F- R+ F+ B- D+   B+ F- R2 F+ B- D+   B+ F- R+ F+ B- D+   B+ F- R+ F+ B- D2

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-06-09 at 08:49:20ID24476160
Tags

Puzzle Games

Topics

Computer Games

,

Puzzles & Riddles

,

Math & Science

Participating Experts
4
Points
500
Comments
23

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. 2D cube
    I want to draw a cube, I am confused by how to do it. import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.awt.image.*; import javax.swing.*; public class GeneralPath extends JFrame { public GeneralPath() { super( "Drawing a 2D cube...
  2. Cube Puzzle solver
    I have a cube puzzle, where there are 8 wooden blocks, each with a coloured ring on each face, making up a large cube, inside an open-topped clear plastic container. The puzzle is solved by getting all of the same colour on every side of the large cube. There are 6 colours, o...
  3. Rotating cube
    %Here is my matlab code for a simple wireframe cube, im trying to learn 3d programming "the basics" and i want it to rotate around its diagonal in the point 10,10, but i get some strange results, please help me.. i need an einstein to help me. % Cube Matrix x = [-2...
  4. 3d rotating cube in c++
    How can i make a 3D cube in C++ and also rotate it .. using Turbo C++ 3.0 No VC++ or OpenGL or DirectX please.. I want to make it in simple C++

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: InteractiveMindPosted on 2009-06-09 at 08:53:25ID: 24582387

Hmm, I did edit the question and attach an image, but hasn't shown. Here it is (hopefully)...

  • rubik.jpg
    • 11 KB

    Here, the orange face is the bottom (D).

    Here, the orange face is the bottom (D).
 

by: d-glitchPosted on 2009-06-09 at 09:12:10ID: 24582578

This is from my memory of a Scientific American article from the 1970's.
but I believe they claimed that no position was more than 25 moves from START.
And vice versa.

They also posited a "God Algorithm" that could solve any position in 18 moves.

I will be hunting....

 

by: d-glitchPosted on 2009-06-09 at 09:19:39ID: 24582670

This article claims 29 moves or less for any position

     http://www.bambooweb.com/articles/r/u/Rubik%27s_Cube.html

They also have a page on Optimal Solutions:

     http://www.bambooweb.com/articles/o/p/Optimal_solutions_for_Rubik%27s_Cube.html


Note that optimal solvers tend to take non-obvious, non-sensical paths.

 

by: d-glitchPosted on 2009-06-09 at 09:27:32ID: 24582771

Richard Korf and his research...

     http://www.seas.ucla.edu/hsseas/press/1997/korfcube.html

 

by: Infinity08Posted on 2009-06-09 at 10:28:56ID: 24583473

I guess you could do it in 48 moves using the Dedmore H pattern described on this site :

        http://www.chessandpoker.com/rubiks-cube-solution.html

 

by: InteractiveMindPosted on 2009-06-09 at 11:36:35ID: 24584179

Great stuff! Thanks so far.
I'll have a read through this stuff when I can (I have 9 exams over the next 10 days, so...), and get back to you ASAP.

 

by: NovaDenizenPosted on 2009-06-09 at 12:34:49ID: 24584840

Cube Explorer 4.64 gives U R L' F2 R2 D2 R2 B R2 D2 R2 F2 R' L.  That's 14 face turns, and assuming orange is on top.

 

by: d-glitchPosted on 2009-06-09 at 13:47:01ID: 24585614

>> 14 face turns

Now that's a solution!!!
How long does the software take to find it?

 

by: NovaDenizenPosted on 2009-06-09 at 13:52:11ID: 24585675

That just took a second.  I have another one for a random scramble that has been running for an hour now and it's only at the depth of 18 moves.  I'm guessing it would take my few-year-old laptop about a whole day to finish to a depth of 20.

 

by: NovaDenizenPosted on 2009-06-09 at 13:56:36ID: 24585713

I was using the "optimal" solver, which gives the guaranteed optimal solution.  It also has a much faster algorithm that will give a good solution, but is not guaranteed to be optimal.  It found a 19-move nonoptimal solution to the random scramble in less than a second.

 

by: RobinDPosted on 2009-06-09 at 16:11:10ID: 24586719

That Cube Explorer looks good. I've been toying with a way to find god's algorithm, but I don't think I'll bother now.

 

by: d-glitchPosted on 2009-06-09 at 16:57:46ID: 24587033

I know what God's algorithm is (in theory).  
It's just a little hard to implement in practice.

All you need are 4.3 x10^19 buttons and 3.9 x10^20 pieces of string.

 

by: RobinDPosted on 2009-06-10 at 01:10:46ID: 24588890

>All you need are 4.3 x10^19 buttons and 3.9 x10^20 pieces of string

I was actually using a database and a route finding algorithm, but whatever floats your boat I suppose. My intention was to find the longest way home - or what is the most mixed up a cube can be. Managed to map all the corners and which perm they changed to when making all the individual face turns, but I was momentarily stuck on a way to get it to recognise identical permutations but on a rotated cube - if I can do this then I think I have enough working space to map the edge pieces as well.

My hands-on solution for the 4 inverted edges runs to many more than 64 turns. It's 13 turns initially, but as these mess up the relative positions of those edges and all the corners on that face it takes many moves to sort those out. When solving I fix the edges before the corners so the extra work isn't apparent.

 

by: RobinDPosted on 2009-06-10 at 11:31:50ID: 24594601

My first try gets it in 48 and can probably be shortened with a few shortcuts. I don't think there'll be a way to beat that 14 from the machine though.

 

by: RobinDPosted on 2009-06-10 at 15:47:44ID: 24597297

Here's my 48, subtly shorter than the sequence in the question although similar. It does turn the edges on the top face instead of the bottom. If you're not allowed to invert the cube then all that is necessary is to rename the faces. Each line inverts one edge and turns the top. Alternate lines mix and unmix the lower two layers.


L- R+ F+ R- L+ D-  L- R+ F2 R- L+ U+
L- R+ F2 R- L+ D+ L- R+ F- R- L+ U+
L- R+ F+ R- L+ D- L- R+ F2 R- L+ U+
L- R+ F2 R- L+ D+ L- R+ F- R- L+ U+

It should shorten as it seems a bit wasteful doing all those turns and only inverting a single piece at a time.

( I think I got it in either 18 or 24 moves while trying this, one of those where you forget where you are and try and back up. The result was that the bottom edges had all inverted and remained in position - not the top as I was trying to work on. Can't reproduce that at the moment unfortunately.)

 

by: NovaDenizenPosted on 2009-06-10 at 16:57:01ID: 24597674

Here's my "human" version based on the OLL & PLL techniques I use.  (I would actually rotate the cube for parts of it, but for simplicity's sake I'm listing it all from a constant point of view)
First, a move that flips around two of the edge pieces (+ side effects)
R' U' F' U F R
Then flip over the other edges (+ side effects)
F' L' U' L U F
Straighten out the corners with a Sune
B U B' U B U2 B'
Lucky me, the corners are in the right places (a 1 in 24 chance).
Then a move that applies a clockwise permutation to the three edge pieces that are out of place. (Bob Burton's PLL #07)
R2 U R U R' U' R' U' R' U R'
That's 6+6+7+11 = 30 moves


Here's another approach that happens to work in 30 moves too.
R U D' F2 U2 D2 B U B' D2 U2 F2 D U' R'
That's a commutator that flips two of the edges and leaves the top turned clockwise.
This does the exact same thing, but flips the other two and reverses the top's turn.
L U D' B2 U2 D2 F U' F' D2 U2 B2 D U' L'

 

by: RobinDPosted on 2009-06-10 at 17:18:45ID: 24597767

Nice one Nova, I think you have a typo in your Sune. That last should be B ? not a B'.

I never had names for these turns, where do the names come from?

I  

 

by: RobinDPosted on 2009-06-10 at 17:21:53ID: 24597783

wooo, don't know what happened there - submit happened somehow.

was trying to say, I have a slight issue with the D2 turns claiming to be one. If D F is two moves then so should F2.

That makes the machine version 22 turns, still impressive but worryingly close to the supposed 23 limit.

 

by: RobinDPosted on 2009-06-11 at 03:04:58ID: 24600354

mmm, looks different this morning. I think I got my cw and acw confused because your Sune is working for me now. I can by way of recompense save you one move from your Bob Burtons #7, although I add a couple of x2 moves - depends how you count them.

Bob Burton's PLL #07) R2 U R U R' U' R' U' R' U R'
can be replaced with:   R2 D' U2 R' L F2 R L' D R2

Now we have 6+6+7+10 = 29 moves

 

by: NovaDenizenPosted on 2009-06-11 at 08:28:44ID: 24603491

> I have a slight issue with the D2 turns claiming to be one

This is actually the subject of a Very Old debate on cubing, namely what the turn metric should be.

The Face Turn Metric people think that a turn of a face counts as one move.  F, F2, and F' are each one move.

The Quarter Turn Metric people think that a quarter turn of a face counts as one move.  F and F' are one move, but F2 is two.

In the end, the Face Turn Metric more or less won out, kind of like the way Blu-Ray beat out HD-DVD.  Quarter turn is mathematically simpler, but Face Turn is closer to the physicality of manipulating a cube.  Cube Explorer uses the Face Turn metric.  The famous unproven proposition that the cube can be solved from any position in 20 moves or less is based on the Face Turn metric.

An optimal solver on the QT metric would probably do better than 22 moves.

 

by: NovaDenizenPosted on 2009-06-11 at 08:38:05ID: 24603619

> Bob Burton's PLL #07) R2 U R U R' U' R' U' R' U R'
> can be replaced with:   R2 D' U2 R' L F2 R L' D R2

Burton's sequences are optimized for physical execution time, not for move count.  But that's what I had memorized, so that's what I used.  Notice that all the moves are R and U, which means the left hand stays static while the right hand can go very fast.  The last R' U R' can be impressively done with a single snap, but it's not so impressive when an edge piece goes flying off.

 

by: RobinDPosted on 2009-06-11 at 15:47:31ID: 24607672

>not so impressive when an edge piece goes flying off

I used to get the same trouble with my R2 D'... sequence. Just as your audience were coming round to the idea that you were actually solving their randomised mantlepiece ornament it could collapse into a heap of small bricks in your hands. Like you it was the sequence I learned many years ago so it's the one I use. I mentioned it only because it is one step shorter that your sequence and a shorter sequence is what we are looking for.

 

by: InteractiveMindPosted on 2009-06-16 at 05:32:29ID: 31590483

Great stuff, thanks! I've downloaded Cube Explorer now - it's so cool!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...