The number (read partition )
is the number of partitions of into nonempty parts,
or equivalently,
the number of equivalence relations of
with equivalence classes
Theorem
Proof
We have two cases.
If is an equivalence class,
then there is other equivalence classes in
This gives .
Alternatively, if is in some other equivalence class,
then there were ways to choose the other equivalence classes,
and ways to add to one of them.
Suppose we are colouring the set into colours
(where )
We can do this in ways.
Each of those colourings uses colours.
There is ways to partition the set into partitions,
and then for each partition
there is ways to assign different colours to the parts.
Summing over each , we are done.
Note that both LHS and RHS are polynomials of degree
thus if they match on they have to match on