Animated Cubes

M24 Cube

Playing the M24 Cube

The goal of the puzzle is first to randomize and then restore the cube by using combinations of just three basic moves ('Left Move', 'Right Move' and 'Switch Move'). These moves only affect edges, which are numbered from 0 through 23. In the inital state, any edge and the neighbouring corner show a same number. Since corners stay at the same place, they can be used as a reference frame to move edges back to their initial locations.

Reset the cube

Click the 'Reset' button to set the cube to its initial state.

Randomize the cube

Click the 'Randomize' button to set the cube to a new random state.

Solve the cube

Click the 'Left Move (L)', 'Right Move (R)' or 'Switch Move (S)' buttons to apply basic moves.

The new moves will be added to the 'Sequence of Moves'. The current state of the cube is displayed under 'Permutation'.

Left Move (L)

The 'L' move cycles 23 out of 24 edges, which literally shuffles the numbers. The 'L' move is the inverse of 'R':

[0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 1]
(2,1,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3)

Right Move (R)

The 'R' move cycles 23 out of 24 edges, which literally shuffles the numbers. The 'R' move is the inverse of 'L':

[0, 23, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]
(23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)

Switch Move (S)

The 'S' move swaps 2 edges in each of 12 pairs, which reverses the order of the numbers on the cube:

[1, 0, 23, 4, 3, 22, 11, 8, 7, 10, 9, 6, 21, 14, 13, 20, 17, 16, 19, 18, 15, 12, 5, 2]
(1,0) (23,2) (4,3) (22,5) (11,6) (8,7) (10,9) (21,12) (14,13) (20,15) (17,16) (19,18)

Undo moves

Click the 'Undo' button to undo previous moves. The entire sequence of moves, from the last to the first can be undone, by clicking repeatedly the 'Undo' button.

Optimal solution

When 'Show optimal solution' is selected, the shortest sequence of moves for the current state of the cube is displayed. Enter these moves step by step in order to optimally solve the cube.

Permutation

Permutation notations are used to describe how edge pieces are permuted. Changes always happen in cycles. If an edge moves to another edge location, then the latter must move as well. This may trigger more location changes until one edge closes the cycle back by moving to the start location.

M24 Array Notation

In this notation, all elements are listed in a row and enclosed in square brackets. Elements are separated by commas. Changes are displayed by listing elements in a different order.

M24 Cycle Notation

This notation displays only elements that have moved. Cycles are enclosed in parenthesis. The elements of a given cycle are separated by commas, e.g. 3-cycle (8,1,3) shows that edge '8' has moved to position '1', edge '1' has moved to position '3' and edge '3' has moved to position '8'. 2 2-cycles (1,12) (2,11) denotes two disjoint cycles: edges '1' and '12' have swapped their locations and the same for edges '2' and '11'.