返回题库

AIME 2002 II · 第 9 题

AIME 2002 II — Problem 9

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let S\mathcal{S} be the set {1,2,3,,10}\lbrace1,2,3,\ldots,10\rbrace. Let nn be the number of sets of two non-empty disjoint subsets of S\mathcal{S}. (Disjoint sets are defined as sets that have no common elements.) Find the remainder obtained when nn is divided by 10001000.

解析

Solution 1 (combinatorial)

Let the two disjoint subsets be AA and BB, and define C=S(AB)C = \mathcal{S}\setminus\left(A \cup B\right) (so CC is disjoint from both AA and BB, and every element of S\mathcal{S}, if not contained in AA or BB, is necessarily contained in CC). This means every element sSs \in \mathcal{S} satisfies exactly one of sAs \in A, sBs \in B, or sCs \in C, i.e. for each of the 1010 elements, we have to independently choose 11 of these 33 subsets into which to place it. Hence there are a total of 3103^{10} ways to partition S\mathcal{S} into disjoint subsets AA, BB, and CC.

However, we must exclude those partitions in which AA or BB (or both) is empty. If A=A = \emptyset, and thus S=BC\mathcal{S} = B \cup C, then we have to place each of the 1010 elements of S\mathcal{S} into either BB or CC, giving 2102^{10} such partitions (similarly to above). By symmetry, the case where B=B = \emptyset and S=AC\mathcal{S} = A \cup C also gives 2102^{10} partitions, so we need to subtract 2102^{10} twice from 3103^{10}. But then the partition A=B=,S=CA = B = \emptyset, \mathcal{S} = C, which falls within both of the above 22 cases, would be double-counted in the subtraction, so we must add it back.

Accordingly, there are (3102210+1)\left(3^{10}-2\cdot2^{10}+1\right) possible ordered pairs (A,B)(A,B) (or equivalently, partitions A,B,CA,B,C). Each pair has 22 possible orders (as AA and BB, being disjoint, obviously cannot be the same), so the above expression counts each unordered set {A,B}\left\{A,B\right\} exactly twice. Thus, finally, we deduce that n=12(3102210+1)=28501501(mod1000)n = \frac{1}{2}\left(3^{10}-2\cdot2^{10}+1\right) = 28501 \equiv \boxed{501} \pmod{1000}.

Solution 2 (computational/'bash')

As in Solution 1, let the two disjoint subsets be AA and BB. We observe that if AA has pp elements, which can be chosen in (10p)\binom{10}{p} ways, then there are (10p)(10-p) remaining elements of S\mathcal{S} from which to choose the elements of BB.

Therefore, letting BB have qq elements, we must have 1q10p1 \leq q \leq 10-p, and similarly to above, these qq elements can be chosen in (10pq)\binom{10-p}{q} ways. Moreover, since AA and BB must both be non-empty, we require p1p \geq 1 and 10p110-p \geq 1, i.e. 1p91 \leq p \leq 9. It follows that for each fixed value of pp, the number of possible ordered pairs (A,B)(A,B) is

(10p)q=110p(10pq)=(10p)q=110p(10pq)1q1(10p)q=(10p)(q=010p(10pq)1q1(10p)q(10p0)101(10p)0)=(10p)((1+1)10p111)(by the binomial theorem)=(10p)(210p1),\begin{aligned}\binom{10}{p}\sum_{q=1}^{10-p}\binom{10-p}{q} &= \binom{10}{p}\sum_{q=1}^{10-p}\binom{10-p}{q}1^q 1^{(10-p)-q} \\ &= \binom{10}{p}\left(\sum_{q=0}^{10-p}\binom{10-p}{q}1^q 1^{(10-p)-q} - \binom{10-p}{0}\cdot 1^0 \cdot 1^{(10-p)-0}\right) \\ &= \binom{10}{p}\left(\left(1+1\right)^{10-p} - 1 \cdot 1 \cdot 1\right) \qquad \text{(by the binomial theorem)} \\ &= \binom{10}{p}\left(2^{10-p}-1\right),\end{aligned} and summing this expression over 1p91 \leq p \leq 9 will therefore give the total number of such ordered pairs.

Just like in Solution 1, counting ordered pairs (A,B)(A,B) is equivalent to counting each unordered set {A,B}\left\{A,B\right\} exactly twice, so we deduce

2n=p=19(10p)(210p1)=p=19(10p)1p210pp=19(10p)1p110p=(p=010(10p)1p210p(100)102100(1010)11021010)=(p=010(10p)1p110p(100)101100(1010)11011010)=((1+2)1011210111)((1+1)10111111)=(again by the binomial theorem)=3102101210+1+1=3102210+1.\begin{aligned}2n &= \sum_{p=1}^{9}\binom{10}{p}\left(2^{10-p}-1\right) \\ &= \sum_{p=1}^{9}\binom{10}{p}1^p 2^{10-p} - \sum_{p=1}^{9}\binom{10}{p}1^p 1^{10-p} \\ &= \left(\sum_{p=0}^{10}\binom{10}{p}1^p 2^{10-p} - \binom{10}{0} \cdot 1^0 \cdot 2^{10-0} - \binom{10}{10} \cdot 1^{10} \cdot 2^{10-10}\right) \\ &\phantom{=} -\left(\sum_{p=0}^{10}\binom{10}{p}1^p 1^{10-p} - \binom{10}{0} \cdot 1^0 \cdot 1^{10-0} - \binom{10}{10} \cdot 1^{10} \cdot 1^{10-10}\right) \\ &= \left(\left(1+2\right)^{10} - 1 \cdot 1 \cdot 2^{10} - 1 \cdot 1 \cdot 1\right) - \left(\left(1+1\right)^{10} - 1 \cdot 1 \cdot 1 - 1 \cdot 1 \cdot 1\right) \\ &\phantom{=} \text{(again by the binomial theorem)} \\ &= 3^{10}-2^{10}-1-2^{10}+1+1 \\ &= 3^{10} - 2 \cdot 2^{10} + 1.\end{aligned} Hence, as in Solution 1, n=12(3102210+1)=28501501(mod1000)n = \frac{1}{2}\left(3^{10}-2\cdot2^{10}+1\right) = 28501 \equiv \boxed{501} \pmod{1000}.