Rubik's Cube Algorithms - Ruwix (2024)

A Rubik's Cube algorithm is an operation on the puzzle which reorients its pieces in a certain way. Mathematically the Rubik's Cube is a permutation group: an ordered list, with 54 fields with 6*9 values (colours) on which we can apply operations (basic face rotations, cube turns and the combinations of these) which reorient the permutation group according to a pattern.

To describe operations on the Rubik's Cube we use the notation: we mark every face of the puzzle with a letter F(Front), U(Up), R(Right), B(Back), L(Left), D(Down). A letter by itself means a 90 degree clockwise rotation of the face. A letter followed by an apostrophe is a counterclockwise turn.

F U R B L D | F' U' R' B' L' D'

Play the demonstration below:

For example: F R' U2 D means front face clockwise, right counterclockwise, a half turn of the upper face and then down clockwise.To read about slice turns, double layer turns, whole cube reorientation etc. go to the advanced Rubik's Cube notation page.

Usually we use sequences of these basic rotations to describe an algorithm.
A Rubik's Cube algorithm presented in the Beginner'smethod is U R U’ L’ U R’ U’ L, used to cycle the three corner pieces on the upper layer, when the firsttwolayers(F2L) aresolved.

Degree of a Rubik's Cube algorithm

Every algorithm or permutation has a degree which is a finite number that shows how many times we have to execute the operation to return to the initial state.
Some examples:
F - degree is 4 because F F F F = 1.
R' D' R D - degree is 6 because we have to repeat the algorithm 6 times to return to the initial configuration.

Mathematical properties of the algorithms

In the introduction I have presented the Rubik's Cube as a permutation group. Below are the properties of the operations of this mathematical structure.

  • Associative - the permutations in the row can be grouped together: ex. (RB')L = R(B'L)
  • Neutral element - there is a permutation which doesn't rearrange the set: ex. RR'
  • Inverse element - every permutation has an inverse permutation: ex. R - R'
  • Commutative - it's not a necessary condition of the permutation group but notice that FB = BF but FR != RF
  • Degree of permutations - see above. ex: 4xF=1, 6x(R'D'RD)=1, 336x(UUR'LLDDB'R'U'B'R'U'B'R'U)=1

Often used algorithms

There are many examples of iconic cubing things, but none are as omnipresent or as widely useful as algorithms. Below we will be going over the most famous algorithms, such as Sune, Sledgehammer, and many more. The majority of these will be CFOP algorithms, and some will be used in other methods such as Petrus, ZZ and Roux.

Sune

Sune is an OLL algorithm, which means it orients the last layer. It is part of a special subcategory called OCLL, which means that it only orients the corners (is used when all edges are oriented). It was proposed by Lars Petrus in his Petrus method.

R U R' U R U2 R'

Anti-Sune

As referenced by the name, Anti-Sune is the opposite of Sune. It is still an OCLL, but the algorithm is mirrored. It was also coined by Petrus in the method of the same name.

R U2 R' U' R U' R'


Sune and Anti-Sune

Sledgehammer

This is a trigger that is used in a lot of algorithms, and in F2L. It also has a much lesser-known reverse, hedgeslammer. If repeated 6 times, it will bring the cube back to its previous state.

R' F R F'

Sexy Move

This is another trigger that is heavily used in almost everything. You can find it in F2L, OLL, and PLL and, if repeated 6 times on a cube, will bring it back to the same state it was in before.

R U R' U'

Reverse Sexy

This is, as the name implies, the reverse of sexy. It is less used, but is still quite prominent in F2L, where the triple sexy is frequently replaced with triple reverse sexy as it is said to be quicker. Either way, if repeated 6 times it will bring the cube back to its original state, as with most 6 move triggers.

U R U' R'

U Perms

This is a PLL (Position Last Layer) algorithm. There are 2 variants, the Ua and Ub perms. They are used when all the corners are permuted and there are 3 edges to permute in a triangular fashion. Doing either one 3 times will bring the cube back to its original state and executing either one once will make the case that the other one solves.

Ua: M2 U M U2 M' U M2

Ub: M2 U' M U2 M' U' M2

T Perm

The T perm is perhaps the most well-known PLL algorithm, with its only competition being the U perms (above) and the J perms (below). It is used to permute 2 opposite edges and two adjacent corners, and the shape of those pieces to permute when viewed from above makes a T, hence the name.

R U R' U' R' F R2 U' R' U' R U R' F'

J Perms

These are 2 PLL algorithms that permute 2 adjacent edges and 2 adjacent corners. It is recognisable by the sheer number of blocks it has. There is one solved line, and 2 unsolved blocks. The Jb tends to be the faster one, as it is an RUF algorithm, but the Ja – being either an RUL or LUF algorithm – can also be very fast with practice.

Ja: R' U L' U2 R U' R' U2 R L or L' U' L F L' U' L U L F' L2' U L U

Jb: R U R' F' R U R' U' R' F R2 U' R' U'

H Perm

The H perm is a PLL algorithm that swaps 2 sets of opposite edges. All the corners are already solved. The directions of the U turns can be switched.

M2' U' M2' U2' M2' U' M2'

Key (OLL 33)

This OLL looks like a T when viewed from the top. It is not the only OLL to look like this but it is recognizable from the two opposite facing blocks that the unoriented pieces make.

R U R' U' R' F R F'

Bottlecap (OLL 51)

This OLL is a very famous one, and a good example of an OLL that contains the ‘sexy' trigger. It is a Line case, and it has 2 opposing edge and corner blocks, along with two adjacent corners that make headlights.

f ( R U R' U' ) ( R U R' U' ) f' or F U R U' R' U R U' R' F'

T (OLL 45)

This OLL is probably one of the most famous out of all the full algorithms. It is 6 moves long, and the other T shaped algorithm in addition to Key, above. The main body of the algorithm is the sexy trigger.

F R U R' U' F'

Checkerboard

This is a pattern but has a famous algorithm to make it. This is quite an intuitive algorithm, and one that many beginner cubers will be taught or figure out or see done.

M2 E2 S2 or R2 L2 U2 D2 F2 B2

Z Perm

This permutation is a PLL algorithm. It switches two sets of adjacent edges. All the corners are already solved when this algorithm is used. It is used in every method that forces an EPLL (a PLL of only the edges, in other words, all corners are pre-solved) including Petrus.

M' U' M2' U' M2' U' M' U2 M2' U

There will undoubtedly be more, as with any list, but these are the most famous and well known.

Rubik's Cube notation

We use letters to mark rotations on the cube. See the 3D widget will let you can the turns used in speedcubing. The widget renders without problems only in the latest web browsers.

Test algorithms pressing the buttons:

Comments

Rubik's Cube Algorithms - Ruwix (2024)

FAQs

What is God's algorithm 3x3x3? ›

It is a mathematical calculation of the lowest number of moves required to solve a cube in any given state. That said, it is possible to solve a Cube from any naturally occurring position (ie: no corner twists) in 20 moves or less, making 20, “God's Number.” At least, it's 20 for a 3x3x3.

What is the most efficient Rubik's cube algorithm? ›

The CFOP method (Cross – F2L – OLL – PLL), also known as the Fridrich method, is one of the most commonly used methods in speedsolving a 3×3×3 Rubik's Cube. It is one of the fastest methods. This method was first developed in the early 1980s, combining innovations by a number of speed cubers.

Has anyone solved a Rubik's cube without an algorithm? ›

Conclusion. The Rubik's Cube can most definitely be solved without memorizing any algorithms. After all, Erno Rubik had to solve it on his own the first time he scrambled his puzzle! Commutators are a very useful tool in this case.

How do people memorize Rubik's cube algorithms? ›

Repetition is key to memorization. Practice the algorithms consistently to reinforce your memory and increase recall speed. Set aside dedicated practice sessions to go over the algorithms repeatedly. Start with slower speeds and gradually increase your pace as you become more comfortable.

What is 777 in the Bible? ›

Religious significance

According to the Bible, Lamech, the father of Noah lived for 777 years.

Can a Rubik's cube always be solved in 20 moves? ›

Finally, in 2010, Tomas Rokicki, Herbert Kociemba, Morley Davidson, and John Dethridge gave the final computer-assisted proof that all cube positions could be solved with a maximum of 20 face turns. In 2009, Tomas Rokicki proved that 29 moves in the quarter-turn metric is enough to solve any scrambled cube.

Which is faster, ZZ or CFOP? ›

Due to the ergonomics of ZZ, rotating when solving will never be needed, unlike in the CFOP method. The ZZ method has fewer moves than CFOP, with ZZ averaging 53.5 compared to CFOP's 55–60 moves. Because ZZ uses EO, it is very move-efficient, and these techniques are sometimes used in FMC (Fewest Moves Challenge).

Is Roux faster than CFOP? ›

The Current State of the Art in CFOP Method -

Extremely fast solvers out there with 17 cubers having sub-6 officially. CFOP dominates the rankings with just one sub-6 average using the Roux method.

How do speed cubers solve so fast? ›

The answer: Rubik's Cube algorithms. To solve Rubik's Cubes, cubers use algorithms, which are specific operations that reorient the cube's pieces in a certain way, making the process of solving a cube significantly faster.

What is the hardest solve on a Rubik's cube? ›

The Superflip or 12-flip pattern is probably one of the most complicated configurations of Rubik's Cube that you can find. This is a symmetrical layout of the cube and the solution.

Would Einstein be able to solve a Rubik's cube? ›

1×1×1 is close to impossible for any human. And Albert Einstein would not quit but it would take him eternity to solve one

How long does it take the average person to learn the Rubik's cube? ›

Spinning with the Speedcubers

It takes the average person about three hours to solve a Rubik's cube for the first time, but it can take a speedcuber only seven seconds. As the name implies, speedcubing is a sport in which participants solve, most commonly, the 3x3x3 Rubik's Cube as quickly as possible.

Are Rubik's cube solvers intelligent? ›

Anyone who has worked with cubes for a while knows that solving a cube will make your IQ soar after a while. But learning cubes requires nothing but average IQ and some perseverance.

How many algorithms can you learn in a day? ›

Don't try to learn more than two to three algorithms in one day unless they are very short because you need to be able to remember them months, maybe years later. Start incorporating the algorithms you have learned into your everyday solving. If you don't speedsolve every day, start doing it.

What is the 3x3 Devils algorithm? ›

A Devil's Algorithm is defined as a set of moves that when applied, repeatedly if necessary, will eventually return a Rubik's Cube to a solved state regardless of the starting configuration.

What is the meaning of God's algorithm? ›

It refers to any algorithm which produces a solution having the fewest possible moves. The allusion to the deity is based on the notion that an omniscient being would know an optimal step from any given configuration.

What is God's number in 2x2x2? ›

God's Algorithm for 2x2x2 Cubes

God's Number for the 2x2 puzzle (having only 3,674,160 different positions) has been proven to be 11 moves using the half turn metric, or 14 using the quarter turn metric (half turns count as 2 rotations). Unfortunately God's Number has yet to be calculated for the 4x4 cube, or higher.

What is the gods number theory? ›

The term "God's number" is sometimes given to the graph diameter of Rubik's graph, which is the minimum number of turns required to solve a Rubik's cube from an arbitrary starting position (i.e., in the worst case). Rokicki et al. (2010) showed that this number equals 20.

Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 5765

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.