USAMO/USAMO
1987 United States of America Mathematical Olympiad
5 道题目
USAMOproofEnglish problemsChinese solutions
选择题目
点击题号切换,正文区一次只显示一道题
5. Given a sequence $(x_1,x_2,\ldots,x_n)$ of $0$'s and $1$'s, let $A$ be the number of triples $(x_i,x_j,x_k)$ with $i<j<k$ such that $(x_i,x_j,x_k)$ equals $(0,1,0)$ or $(1,0,1)$. For $1\le i\le n$, let $d_i$ denote the number of $j$ for which either $j<i$ and $x_j=x_i$ or else $j>i$ and $x_j\ne x_i$.
(a) Prove that
$$A=\binom{n}{3}-\sum_{i=1}^n\binom{d_i}{2}.$$
(Of course, $\binom{a}{b}=\dfrac{a!}{b!(a-b)!}$.) [5 points]
(b) Given an odd number $n$, what is the maximum possible value of $A$? [15 points]
(a) Prove that
$$A=\binom{n}{3}-\sum_{i=1}^n\binom{d_i}{2}.$$
(Of course, $\binom{a}{b}=\dfrac{a!}{b!(a-b)!}$.) [5 points]
(b) Given an odd number $n$, what is the maximum possible value of $A$? [15 points]
考场第一眼 / First look
第 (a) 问应数补集:不是 $010/101$ 的三元组共有六种。对每个位置 $i$,把“左边与 $x_i$ 相同”和“右边与 $x_i$ 不同”的位置收进集合 $S_i$;从 $S_i$ 任选两个位置,恰好产生一个非交替三元组,而且每个非交替三元组有唯一的中心位置。第 (b) 问再观察每对指标恰好给某一个 $d_i$ 贡献 $1$,故 $\sum d_i=\binom n2$。当 $n$ 为奇数时平均值是整数 $(n-1)/2$,凸性说明所有 $d_i$ 相等时补集最小;交替序列确实达到等号。