返回题库

AIME 1993 · 第 8 题

AIME 1993 — Problem 8

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let SS\, be a set with six elements. In how many different ways can one select two not necessarily distinct subsets of SS\, so that the union of the two subsets is SS\,? The order of selection does not matter; for example, the pair of subsets {a,c},{b,c,d,e,f}\{a, c\},\{b, c, d, e, f\} represents the same selection as the pair {b,c,d,e,f},{a,c}.\{b, c, d, e, f\},\{a, c\}.

解析

Solution 1 (Overcounting)

Call the two subsets mm and n.n. For each of the elements in S,S, we can assign it to either m,n,m,n, or both. This gives us 363^6 possible methods of selection. However, because the order of the subsets does not matter, each possible selection is double counted, except the case where both mm and nn contain all 66 elements of S.S. So our final answer is then 3612+1=365.\frac {3^6 - 1}{2} + 1 = \boxed{365}.

Note: because we can order selections AA and BB in two ways, but since order does not matter in the problem, we should only count them once, ie we need to divide by two. We first need to subtract one for the count 3613^6-1 because there is one case in which AA and BB are identical and so while the rest of the “different” cases are counted twice, this one was only counted once so we should subtract one from the total count, divide by two, and add back that distinct one case. Or we could just add one, making all of the problem’s different cases counted twice, and divide it all by two, which is 36+12=365.\frac{3^6+1}{2}=365.

Solution 2 (Overcounting)

Given one of (6k){6 \choose k} subsets with kk elements, the other also has 2k2^k possibilities; this is because it must contain all of the "missing" nkn - k elements and thus has a choice over the remaining k.k. We want k=06(6k)2k=(2+1)6=729\sum_{k = 0}^6 {6 \choose k}2^k = (2 + 1)^6 = 729 by the Binomial Theorem. But the order of the sets doesn't matter, so we get 72912+1=365.\dfrac{729 - 1}{2} + 1 = \boxed{365}.

Solution 3 (Recursion)

For all nonnegative integers n,n, let nn be the number of elements in S,S, and f(n)f(n) be the number of unordered pairs {A,B}\{A,B\} of subsets of SS for which AB=S.A\cup B=S. We wish to find f(6).f(6).

Without the loss of generality, let the elements of SS be 1,2,,n.1,2,\ldots,n. Based on the value of n,n, we construct the following table:

AIME diagram

Note that for all n1,n\geq1, each unordered pair of the (n1)(n-1)-element set contributes three unordered pairs to the nn-element set, as the element nn can be added to either or both of the subsets. The only exception is that the unordered pair of identical subsets of the (n1)(n-1)-element set, namely {{1,2,,n1},{1,2,,n1}},\{\{1,2,\ldots,n-1\},\{1,2,\ldots,n-1\}\}, only contributes two unordered pairs to the nn-element set. The table above shows this relationship between the 22-element set and the 33-element set.

Together, the recursive formula for f(n)f(n) is

f(n)={1if n=03f(n1)1if n1.f(n) = \begin{cases} 1 & \mathrm{if} \ n=0 \\ 3f(n-1)-1 & \mathrm{if} \ n\geq1 \end{cases}. Two solutions follow from here:

Solution 3.1 (Recursive Formula)

We evaluate f(6)f(6) recursively:

f(0)=1,f(1)=3f(0)1=2,f(2)=3f(1)1=5,f(3)=3f(2)1=14,f(4)=3f(3)1=41,f(5)=3f(4)1=122,f(6)=3f(5)1=365.\begin{alignat*}{6} f(0)&=1, \\ f(1)&=3f(0)-1&&=2, \\ f(2)&=3f(1)-1&&=5, \\ f(3)&=3f(2)-1&&=14, \\ f(4)&=3f(3)-1&&=41, \\ f(5)&=3f(4)-1&&=122, \\ f(6)&=3f(5)-1&&=\boxed{365}. \end{alignat*} ~MRENTHUSIASM

Solution 3.2 (Explicit Formula)

For all n1,n\geq1, we have

f(n)=3f(n1)1=3(3f(n2)1)1=32f(n2)31=32(3f(n3)1)31=33f(n3)3231 =3nf(0)3n13n23n31=3n(3n1+3n2+3n3++1)=3n3n12=3n+12=3n12+1,\begin{aligned} f(n) &= 3f(n-1)-1 \\ &= 3\left(3f(n-2)-1\right)-1 \\ &= 3^2f(n-2)-3-1 \\ &= 3^2\left(3f(n-3)-1\right)-3-1 \\ &= 3^3f(n-3)-3^2-3-1 \\ & \ \vdots \\ &= 3^nf(0)-3^{n-1}-3^{n-2}-3^{n-3}-\cdots-1 \\ &= 3^n-\left(3^{n-1}+3^{n-2}+3^{n-3}+\cdots+1\right) \\ &= 3^n-\frac{3^n-1}{2} \\ &= \frac{3^n+1}{2} \\ &= \frac{3^n-1}{2}+1, \end{aligned} which resembles the result in Solutions 1 and 2. The answer is f(6)=365.f(6)=\boxed{365}.

As f(0)=1,f(0)=1, note that

f(n)=3n12+1f(n)=\frac{3^n-1}{2}+1 holds for n=0n=0 too. Therefore, this formula is true for all nonnegative integers n.n.

~MRENTHUSIASM

Solution 4 (Casework)

We can perform casework based on the number of overlapping elements. If no elements overlap, there is (60)=1\binom60=1 way to choose the overlapping elements, and 2602^{6-0} ways to distribute the remaining elements--each element can go in one subset or the other. We must also divide by 22 because the order of the subsets does not matter. Proceeding similarly for the other cases, our sum is

(60)25+(61)24++(64)2+(65)1+(66)1.\dbinom{6}0 \cdot 2^5+\dbinom{6}1 \cdot 2^4+\cdots +\dbinom{6}4 \cdot 2+\dbinom{6}5 \cdot 1+\dbinom{6}6 \cdot 1. (Note that we have to be especially careful with the last case, as it does not follow the pattern of the other cases.) Adding these up gives a total of 365.\boxed{365}.

~vaporwave

~MrThinker (LaTeX improvements)

Solution 5 (Bash)

If we wanted to, we could use casework, being very careful not to double count cases. Let's first figure out what cases we need to look at. The notation I will be using is xy,x\rightarrow y, which implies that we pick xx numbers for the first set which then the second set can have yy numbers.

Clearly:

06156245633456423456512345660123456\begin{aligned} 0&\rightarrow6 \\ 1&\rightarrow5\mid6 \\ 2&\rightarrow4\mid5\mid6 \\ 3&\rightarrow3\mid4\mid5\mid6 \\ 4&\rightarrow2\mid3\mid4\mid5\mid6 \\ 5&\rightarrow1\mid2\mid3\mid4\mid5\mid6 \\ 6&\rightarrow0\mid1\mid2\mid3\mid4\mid5\mid6 \end{aligned} However notice that many of the cases are double counted as direction does not matter, e.g. 242\rightarrow4 is the same as 42.4\rightarrow2. Get rid of those cases so we are just left with:

06156245633456445655666\begin{aligned} 0&\rightarrow6 \\ 1&\rightarrow5\mid6 \\ 2&\rightarrow4\mid5\mid6 \\ 3&\rightarrow3\mid4\mid5\mid6 \\ 4&\rightarrow4\mid5\mid6 \\ 5&\rightarrow5\mid6 \\ 6&\rightarrow6 \end{aligned} Now we start computing, 060\rightarrow6 is just 11 case, 1561\rightarrow5\mid6 is just (61)2\binom{6}{1}\cdot2 cases, 24562\rightarrow4\mid5\mid6 is just (62)22\binom{6}{2}\cdot2^2 cases, and 334563\rightarrow3\mid4\mid5\mid6 is just (63)23\binom{6}{3}\cdot2^3 cases (If you have trouble understanding this, write down the six letters and then try to understand what xyx\rightarrow y really means.). Now what you can do is continue on this same pattern like Solution 2 does, and then use simple symmetry to figure out the double counted cases. However, the purpose of this solution is to bash out the double counted cases, so we will do exactly that.

One quick thing though. We have a double counted case with the 33,3\rightarrow3, as choosing ABC and DEF is the same thing as choosing DEF and then ABC. There are (63)2=10\frac{\binom{6}{3}}{2} = 10 cases of this.

For computing 4456,4\rightarrow4\mid5\mid6, we use the same process as before. We have (64)(3+4+1)\binom{6}{4}\cdot(3+4+1) (Note, the 33 comes from (42)2\frac{\binom{4}{2}}{2}), and for 5565\rightarrow5\mid6 we have (65)(52+1),\binom{6}{5}\cdot\left(\frac{5}{2}+1\right), and then for 666\rightarrow6 we just have (66)\binom{6}{6} (there is no double counted case since ABCDEF, ABCDEF is only counted once).

Summing case by case, we have 1+12+60+150+120+21+1=365.1+12+60+150+120+21+1 = \boxed{365}.

~Tost (Solution)

~MRENTHUSIASM (Reformatting)