How can I approach this problem ? I tried to use combinations and permutations but I can't understand how to apply combinatorics .
I tried many things in vain . Please introduce new concepts to me if required .
How can I approach this problem ? I tried to use combinations and permutations but I can't understand how to apply combinatorics .
I tried many things in vain . Please introduce new concepts to me if required .
- If $n>k$, there are no surjections.
- If $n=k$, every surjection is a bijection and the number of maps is
$n!$
- If $n<k$, number of surjections is given by the Inclusion-exclusion principle: $\sum_{i=0}^{n-1}(-1)^i\binom{n}{i}(n-i)^k$.
– StubbornAtom Nov 25 '16 at 18:01