I've been looking at this and I thought there might be a pattern but I can't seem to find it. There are always $4$ elements, and they can be divided into $1, 2, 3, 4$ subsets ("chunks"). For example $$ S = \{ a, b, c, d \} $$ I want a function with the properties: \begin{align} f(1, S) &= \{ \{a, b, c, d \} \} \\ f(2, S) &= \{ \{ a \}, \{ b, c, d \} \} \\ f(3, S) &= \{ \{ a \}, \{ b, c \}, \{ d \} \\ f(4, S) &= \{ \{ a \}, \{ b \}, \{ c \}, \{ d \} \} \end{align}
I've been looking at it but I can't seem to find a rule that will produce the sequence of lengths. I'm looking for. Any ideas?