Index pairs permutations