Proposition. Counting injections between finite sets [00N4]

For finite sets A and B, we can describe number of injections from A to B as follows:

\mathord {\#}{\mathrm {Inj}{\mathopen {}\left (A,B\right )\mathclose {}}} = \begin {cases} {\mathord {\#}{B}\choose \mathord {\#}{A}}\cdot {\mathopen {}\left (\mathord {\#}{A}\right )\mathclose {}}! &\text {when } \mathord {\#}{A}\leq \mathord {\#}{B} \\ 0 &\text {otherwise} \end {cases}