๐Ÿงฎ Brain Teaser

Ordered Triples of Sets Covering {1, โ€ฆ, 10}

How many ordered triples (A1,A2,A3)(A_1, A_2, A_3) of sets satisfy both:

  1. A1โˆชA2โˆชA3={1,2,3,4,5,6,7,8,9,10}A_1 \cup A_2 \cup A_3 = \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}
  2. A1โˆฉA2โˆฉA3=โˆ…A_1 \cap A_2 \cap A_3 = \emptyset

Express your answer in the form 2a3b5c7d2^a 3^b 5^c 7^d.

combinatoricsset theorycountingindependence

Answer: Ordered Triples of Sets Covering {1,...,10}

Key Idea / Intuition

Each element of {1,โ€ฆ,10}\{1, \ldots, 10\} independently "decides" which of the three sets it belongs to. The union condition says every element must appear in at least one set; the intersection condition says no element may appear in all three. So for each element, we need to count membership patterns that are neither "in none" nor "in all three" โ€” a clean inclusion/exclusion on each element separately, and since elements are independent, just raise to the 10th power.


Formal Proof / Solution

Step 1: Encode membership.

For each element kโˆˆ{1,โ€ฆ,10}k \in \{1, \ldots, 10\}, define a membership vector (x1,x2,x3)โˆˆ{0,1}3(x_1, x_2, x_3) \in \{0,1\}^3 where xi=1x_i = 1 iff kโˆˆAik \in A_i.

There are 23=82^3 = 8 possible vectors total.

Step 2: Apply the two conditions.

  • A1โˆชA2โˆชA3={1,โ€ฆ,10}A_1 \cup A_2 \cup A_3 = \{1,\ldots,10\} means: for each kk, at least one xi=1x_i = 1, i.e., (0,0,0)(0,0,0) is forbidden.
  • A1โˆฉA2โˆฉA3=โˆ…A_1 \cap A_2 \cap A_3 = \emptyset means: no kk lies in all three sets, i.e., (1,1,1)(1,1,1) is forbidden.

Step 3: Count valid patterns per element.

Each element independently has 8โˆ’2=68 - 2 = 6 valid membership patterns (all patterns except (0,0,0)(0,0,0) and (1,1,1)(1,1,1)).

Step 4: Total count.

Since the 10 elements choose independently:

Total=610\text{Total} = 6^{10}

Step 5: Express in required form.

610=(2โ‹…3)10=210โ‹…3106^{10} = (2 \cdot 3)^{10} = 2^{10} \cdot 3^{10}

So a=10,ย b=10,ย c=0,ย d=0a = 10,\ b = 10,\ c = 0,\ d = 0, giving:

210โ‹…310โ‹…50โ‹…70\boxed{2^{10} \cdot 3^{10} \cdot 5^0 \cdot 7^0}

Why this is beautiful: The problem looks like it might need complicated inclusion-exclusion over sets, but the key insight is that the two global conditions on the triple decouple completely into independent local conditions on each element. The answer 6106^{10} falls out almost immediately once you see this.

Source: Putnam 1985, Problem A-1

Type: PutnamSource: Putnam 1985, Problem A-1Edit on GitHub โ†—