Exercise 4

Find the number of all onto functions from the set \(\{1, 2, 3, \ldots, n\}\) to itself.