Solved PermutationSequence

Using some patterns and math - # of permutations of an n-digit number
is n!. Skip over them and get to our k.