* permutation sequence sol2 use math way