1 | initial version |

You can write the action yourself:

```
sage: p = r*l^(-1)
sage: [p(i) for i in corner_list]
[40, 38, 35, 33, 14, 9, 16, 11, 1, 3, 6, 8, 27, 32, 25, 30, 48, 46, 43, 41, 17, 19, 22, 43]
sage: [p(i) for i in edge_list]
[2, 37, 36, 7, 12, 15, 10, 13, 18, 4, 5, 23, 29, 26, 31, 28, 34, 45, 44, 39, 42, 20, 21, 47]
```

If you want to use some additional methods by viewing `p`

as an element of the symmetric group $S_48$, or as a permutation, you can to:

```
sage: p.parent()
The Rubik's cube group with generators R,L,F,B,U,D in SymmetricGroup(48).
sage: S = SymmetricGroup(48)
sage: s = S(p) ; s
(1,40,41,17)(3,38,43,19)(4,37,44,20)(5,36,45,21)(6,35,46,22)(8,33,48,24)(9,14,16,11)(10,12,15,13)(25,27,32,30)(26,29,31,28)
sage: s.parent()
Symmetric group of order 48! as a permutation group
sage: P = Permutation(p) ; P
[40, 2, 38, 37, 36, 35, 7, 33, 14, 12, 9, 15, 10, 16, 13, 11, 1, 18, 3, 4, 5, 6, 23, 8, 27, 29, 32, 26, 31, 25, 28, 30, 48, 34, 46, 45, 44, 43, 39, 41, 17, 42, 19, 20, 21, 22, 47, 24]
sage: P.parent()
Standard permutations
```

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.