How many surjections are there from {1, 2, 3, 4, 5} onto {1, 2, 3, 4}?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
It is equal to S(5,4) x 4! = 10 x 24 = 240
Where S(n,k) is the Stirling number of the second kind (or Stirling partition number) and is the number of ways to partition a set of n objects into k non-empty subsets