A permutation of can be represented in one-line notation as . If all permutations are written in lexicographic order then is the position of in this 1-based list.
For example, because the six permutations of in lexicographic order are:
Let be the sum , where ranges over all permutations of , and is the permutation arising from applying times.