Solved permutation sequence