if there is another permutation

if (n > 1)