DR.WANG Mathematics中文

2015 USAMO · Question 3

Counting & combinatorics · subsets · coloring

Problem outline

Let S={1,2,…,n}S=\{1,2,\ldots,n\}, where n≥1n\ge1. Color each subset of SS red or blue. For T⊆ST\subseteq S, let f(T)f(T) be the number of blue subsets of TT. Count the colorings for which f(T1)f(T2)=f(T1∪T2)f(T1∩T2)f(T_1)f(T_2)=f(T_1\cup T_2)f(T_1\cap T_2) for every T1,T2⊆ST_1,T_2\subseteq S.

Show answer and methods 1 methods

Answer

3n+13^n+1.

Method 1 Classify the support as an interval in the subset lattice

Call the support the family of TT for which f(T)>0f(T)>0. Apart from the all-red coloring, the support is nonempty. It is upward closed, and the given identity shows that it is closed under intersections and unions. If XX is the intersection of all its members, then XX itself belongs to the support and the support is exactly [X,S]={T:X⊆T⊆S}[X,S]=\{T:X\subseteq T\subseteq S\}.

First classify a coloring with full support, meaning X=∅X=\varnothing. Then ∅\varnothing is blue and f(∅)=1f(\varnothing)=1. Choose a set B⊆SB\subseteq S by putting i∈Bi\in B exactly when the singleton {i}\{i\} is blue. Thus f({i})f(\{i\}) equals 22 for i∈Bi\in B and 11 otherwise.

Apply the identity to T∖{i}T\setminus\{i\} and {i}\{i\}. Their intersection is empty, so induction gives f(T)=f(T∖{i})f({i})=2∣T∩B∣f(T)=f(T\setminus\{i\})f(\{i\})=2^{|T\cap B|}. These values uniquely determine the color of every set, because the indicator that TT is blue equals f(T)−∑U⊊T1U bluef(T)-\sum_{U\subsetneq T}\mathbf1_{U\text{ blue}}. The unique realization is to color precisely the subsets of BB blue. Hence there are 2n2^n full-support colorings.

For general support [X,S][X,S], every blue set contains XX, and XX itself is blue. Removing XX turns the coloring into a full-support coloring on the ground set S∖XS\setminus X. Equivalently, choose sets X⊆Y⊆SX\subseteq Y\subseteq S and color blue exactly those TT with X⊆T⊆YX\subseteq T\subseteq Y.

For a fixed XX there are 2n−∣X∣2^{n-|X|} choices of YY. Adding the all-red coloring, the total is 1+∑X⊆S2n−∣X∣=1+∑k=0n(nk)2n−k=1+3n1+\sum_{X\subseteq S}2^{n-|X|}=1+\sum_{k=0}^n\binom nk2^{n-k}=1+3^n.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)