指定序号的permutation和nextPermutaion