Let's define a distance between two permutation of length $N$: it is the minimum steps to change one to be another. "A step of change" means that exchanging any two elements' location.
For example, series $\{1,2,3\}$ can be changed into $\{2,1,3\}$ in one step, by exchanging the location of $1$ and $2$. So it means
$$\text{d}(\{1,2,3\},\{2,1,3\}) = 1$$
$\text{d}$ means distance. So, we can easily get that $\text{d}(\{1,2,3\},\{3,1,2\})$ is $2$ and so on.
But while $N$ is big enough, how can I get the distance between two arbitrary series?
sequences-and-series
tag is not really relevant. What about "numbers"? – rubik Aug 26 '15 at 09:05