# Is it possible to scramble a Rubik's cube such that no two squares of the same color are touching?

My friend always insists on scrambling my Rubik's cube "perfectly" before giving it to me to solve. According to his definition, a "perfect" scramble must have no three of the same color touching (which takes an annoyingly long time to achieve). For example, this scramble is not a perfect one (showing the front face only):

RRG
BRB
YWO


because three red squares are touching, while this one is perfect:

RRG
BBR
YWO


Is it possible to achieve a scramble where no two same-colored squares are touching, on all sides?

• My dad once achieved this. He took a cube and scrambled it, then somehow managed to arrange it so that it followed this rule. I have no idea how he did it, but he could probably do it again. – Justin Jun 9 '14 at 7:50
• Another method is to imagine breaking the cube into the 20 pieces, then putting them together ensuring there is no two same-colored squares touching. While this reunited cube might not be solvable, there is a high chance that it will, and try "solving" a solved cube into your imagined one. I used to do that to create patterns of letters on each side of the cube to create a name. – justhalf Sep 1 '14 at 8:07
• Oops, based on puzzling.stackexchange.com/questions/525/… it's not really a high chance, but 8.3% – justhalf Sep 1 '14 at 8:14
• I believe a so-called "perfect" scramble is a bit easier to solve. If a color matches but ony partially, in the wrong place, it is a bit confusing and you might need to dislodge the piece before putting it in the right place. It seems to me if the colors never match, pieces can be put in place with less moves on average. – Florian F Oct 12 '14 at 20:43
• I know this is old, but I just wanted to chime in and say that I managed to get a cube with no two of the same color touching, including diagonals, fairly easily. All you need to do is solve a cube the normal way but flip the direction of edge pieces and swap the corner pieces to the opposing face. I'd be glad to post pictures if anyone's interested, but I don't have any ATM. – user193860 Jun 8 '15 at 2:36

## Yes.

Examples:

• Superflip

• "Checkerboard"

• The checkerboard is solvable with U2 D2 R2 L2 F2 B2. And I forget how to solve the superflip, but it's one of the examples of an arrangement that takes 20 moves to solve. – Joe Z. May 27 '14 at 14:55
• @JoeZ. reverse U R2 F B R B2 R U2 L B2 R U' D' R2 F R' L B2 U2 F2 – ratchet freak May 27 '14 at 14:59
• The checkerboard one has a broken URL for me – John Dvorak May 28 '14 at 14:15
• @JanDvorak I've switched it to imgur. – Kendall Frey May 28 '14 at 14:26
• @BrianJ.Fink What exactly is the definition of a scramble? Also, dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/… – Kendall Frey Jun 5 '14 at 0:23

While it's somewhat pattern based, I managed to produce the following by doing a series of rotating opposing flips (e.g. flipping left and right counterclockwise simultaneously, switching faces between each flip):

        Y O Y
G R B
W O W
- - -
G W G | R Y R | B Y B | R W R
O B R | G W B | O G R | B Y G
G Y G | O Y O | B W B | O W O
- - -
W R W
G O B
Y R Y


I'm relatively new to seriously trying to figure out how to solve these things, so I don't know if this is the same as the above mentioned superflip or not. Technically it's a pattern, however without being aware of the pattern there's little to obviously suggest it was in any way intentional the way some other patterns do.

Yes but I was able to shuffle it further without the checker board pattern so it even looked random! This took me about four days because I am bad at puzzles and I haven't touched it since!

R2 L2 U2 D2 F2 B2 R L F B R' L'

No sides should touch.

• Sweet and simple. $(+1)$ – Mr Pie Jul 5 '18 at 12:55

Alright cube nerds - here it is. Mystery solved. Merry Christmas!

L2 D B2 L2 B2 D2 F2 U L2 F2 L’ R’ U’ B2 F2 R B’ R B’ F2

• Took a second picture showing the other three sides below. – Jeff Irick Dec 25 '19 at 15:54

Starting from a solved, standard Rubik's Cube (3x3x3) apply this sequence of moves to produce a configuration that meets this condition: no two squares of the same color will touch side-by-side.

R2 L2 U2 D2 F2 B2 R L F B R' L'

Apostrophe indicates a counter-clockwise turn

This sequence also ensures each of Rubik's 6 colors are represented on all 6 sides at once. These are two things I've been wanting to achieve, in just one sequence of moves.

• This is a little hard to follow. I assume you are starting from a solved cube and the apostrophe indicates rotating counter-clockwise. I believe you are claiming that this sequence of moves applied to a solved cube will produce the configuration described in the question. If you could edit and add these details, and perhaps show a face of the cube after these moves it would help a great deal. Thanks! – Hugh Meyers Mar 22 '16 at 8:18
• Yes, I'm starting from a solved, standard Rubik's Cube (3x3x3) and the apostrophe does indicate a counter-clockwise turn. Yes, the sequence applied to a solved cube produces the configuration described in the question, ie no two squares of the same color will touch side-by-side. – Derek Mar 22 '16 at 10:47
• Challenge 1: Find a sequence of 8 moves that achieves your goal (every side has every colour). Challenge 2: Find a sequence of 7 moves. – user21820 Apr 29 '17 at 18:06

Thank you, Kaji, I've been looking for this for a long time. Your config makes sure that no same colour squares touch AND all six colours are present on each side. You get it with the following:

F2 L2 B2 L2 D' U' B2 D2 F2 R2 B' F' R2 D U'

EDIT: My answer was based on a misinterpretation of the question, and will be fixed when I can find time. My apologies.

Yes. Such a position is achievable with the following set of six moves:

R U L D R U

This solution guarantees that all six colors are present on each face, in a constant ratio of 2:2:2:1:1:1. The following image of the result below is courtesy of the website https://rubiks-cu.be/.

• You've got two touching. – JMP Oct 30 '19 at 5:47
• @JMP The OP only wants to avoid 3 touching. – Jaap Scherphuis Oct 30 '19 at 6:02
• OP says: Is it possible to achieve a scramble where no two same-colored squares are touching, on all sides? @JaapScherphuis – JMP Oct 30 '19 at 6:03
• You're right, I misread it. – Jaap Scherphuis Oct 30 '19 at 6:06
• And so did I. I will continue working on a solution. – Cloudy7 Oct 30 '19 at 6:26

Ah, I found a VERY SIMPLE ONE.

Rotate the middle layer 180 degrees.
Then rotate the middle column 180 degrees.
Then rotate the middle row 180 degrees,
which makes the checkerboard.

...

Looks like your question wasn't clear...

• The answer that was accepted already shows this solution, so yours does not add anything new. – Jaap Scherphuis Dec 29 '19 at 4:19