Archives

Rubik's GAP file

Hello everyone!

I am a Senior student of Kent State studying permutation puzzles. (the cube in particular)

Here are the GAP definitions I use for analyzing the cube. I thought that maybe someone else would like to use it.

Notation: U2 is a 180 turn of the top layer, Uc is a 90 counterclockwise turn of the top layer.

U := ( 1, 3, 8, 6)( 2, 5, 7, 4)( 9,33,25,17)(10,34,26,18)(11,35,27,19);
U2 := U*U;
Uc := U2*U;
L := ( 9,11,16,14)(10,13,15,12)( 1,17,41,40)( 4,20,44,37)( 6,22,46,35);
L2 := L*L;
Lc := L2*L;
F := (17,19,24,22)(18,21,23,20)( 6,25,43,16)( 7,28,42,13)( 8,30,41,11);