Permutations + Three Sums

12312313123
Permutation Sequence

Permutation Sequence