The number
is the number of partitions of
or equivalently,
the number of equivalence relations of
with
Theorem
Proof
We have two cases.
If
then there is
This gives
Alternatively, if
then there were
and
Theorem
Let
Then:
Proof 1
We can do induction on
Proof 2
Suppose we are colouring the set
(where
We can do this in
Each of those colourings uses
There is
and then for each partition
there is
Summing over each
Note that both LHS and RHS are polynomials of degree
thus if they match on
Theorem
Let
Then:
Proof
Substitute
Theorem
Proof
Let
Now
and has Combinatorics/Exponential Generating Function
But then the number of ordered partitions of
hence the result.
Theorem
The egf
Proof 1
Proof 2
which implies