Given two list L1, L2, say

```
L1=[1,2,5,6,3,4,4,8,2]
L2=[1,2,2,5,6,4,3,4,8]
```

How to find a permutation w in S_9 such that w(L1) = L2 in python?

Here s_i acts on L1 is exchange the ith and i+1th element of L1.

Thank you very much.

1 | initial version |

Given two list L1, L2, say

```
L1=[1,2,5,6,3,4,4,8,2]
L2=[1,2,2,5,6,4,3,4,8]
```

How to find a permutation w in S_9 such that w(L1) = L2 in python?

Here s_i acts on L1 is exchange the ith and i+1th element of L1.

Thank you very much.

2 | No.2 Revision |

Given two list L1, L2, say

```
L1=[1,2,5,6,3,4,4,8,2]
L2=[1,2,2,5,6,4,3,4,8]
```

How to find a permutation w in S_9 such that w(L1) = L2 in python?

Here s_i acts on L1 is exchange the ith and i+1th element of L1.

Thank you very much.

Given two list L1, L2, say

```
L1=[1,2,5,6,3,4,4,8,2]
L2=[1,2,2,5,6,4,3,4,8]
```

How to find a permutation w in ~~S_9 ~~$S_9$ such that w(L1) = L2 in python?

Here ~~s_i ~~$s_i$ acts on L1 is to exchange the ith and i+1th element of L1.

Thank you very much.

Given two list L1, L2, say

~~L1=[1,2,5,6,3,4,4,8,2]
L2=[1,2,2,5,6,4,3,4,8]
~~L1=[1,2,5,6,3,4,4,8,2,1,9,3,2]
L2=[1,2,2,5,6,4,3,4,8,9,1,2,3]

How to find a permutation w in ~~$S_9$ ~~$S_{13}$ such that w(L1) = L2 in python?

Here $s_i$ acts on L1 is to exchange the ith and i+1th element of L1.

Thank you very much.

Given two list L1, L2, say

```
L1=[1,2,5,6,3,4,4,8,2,1,9,3,2]
L2=[1,2,2,5,6,4,3,4,8,9,1,2,3]
```

How to find a permutation w in $S_{13}$ such that w(L1) = L2 in python?

Here ~~$s_i$ ~~$w=s_{i_1} \cdots s_{i_k}$ for some $k$, and each $s_{j}$ acts on L1 is to exchange the ~~ith ~~jth and ~~i+1th ~~j+1th element of L1.

Thank you very much.

Given two list L1, L2, say

```
L1=[1,2,5,6,3,4,4,8,2,1,9,3,2]
L2=[1,2,2,5,6,4,3,4,8,9,1,2,3]
```

How to find a permutation w in $S_{13}$ such that w(L1) = L2 in python?

Here $w=s_{i_1} \cdots s_{i_k}$ for some $k$, and each $s_{j}$ acts on L1 ~~is to exchange ~~by exchanging the jth and j+1th element of L1.

Thank you very much.

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.