surjective function
A function that hits every target at least once, counted by inclusion-exclusion.
A surjective function from an n-set onto an m-set hits every target; there are \sum_{i=0}^m(-1)^i\binom{m}{i}(m-i)^n of them.
Point table
Graph settings
Calculator