MathLabs

Problem 2

Let S={1,2,…,2014}S=\{1,2,\ldots,2014\}. For each non-empty subset T⊆ST\subseteq S, one of its members is chosen as its representative. Find the number of ways to assign representatives to all non-empty subsets of SS so that if D⊆SD\subseteq S is a disjoint union of non-empty subsets A,B,C⊆SA,B,C\subseteq S, then the representative of DD is also the representative of at least one of A,B,CA,B,C.
Step 3 of 3: Count the four-element endgame
4⋅34⋅23⋅(2014⋅2013⋯5)=108⋅2014!4\cdot3^4\cdot2^3\cdot(2014\cdot2013\cdots5)=108\cdot2014!
Detailed analysis

Four elements remain. Choose the representative of their whole set in four ways. After that, three pairs are forced; the four triples and three remaining pairs may be assigned freely, giving the displayed factor. Multiplication simplifies to the answer.