Suppose you have a set {a, b, c}.
There are 3! = 6 permutations.
Subsets {a, b}, {a, c}, and {b, c} will account for 3 * 2! = 6 permutations.
Subsets {a}, {b} and {c} accounts for 3 * 1! = 3 permutations.
Subset {} accounts for 0! = 1 permutation.
So {1, 2, 3} has 6 + 6 + 3 + 1 = 16 subset-permutations.
How do I generalize this to a formula for a set of length n? I figure we need to sum with i from 1 up to n, and include i! in the sum body. But I can't figure out how to write it down!
It should be $\sum\limits_{i=1}^n i!{n\choose i}$.