/

AMC10 2012 B

AMC10 2012 B · Q22

AMC10 2012 B · Q22. It mainly tests Basic counting (rules of product/sum), Casework.

Let $(a_1, a_2, \dots, a_{10})$ be a list of the first 10 positive integers such that for each $2 \le i \le 10$ either $a_i + 1$ or $a_i - 1$ or both appear somewhere before $a_i$ in the list. How many such lists are there?
设 $(a_1, a_2, \dots, a_{10})$ 是前 10 个正整数的一个排列,使得对于每个 $2 \le i \le 10$,$a_i + 1$ 或 $a_i - 1$ 或两者都在 $a_i$ 之前的位置出现过。有多少这样的排列?
(A) 120 120
(B) 512 512
(C) 1024 1024
(D) 181440 181440
(E) 362880 362880
Answer
Correct choice: (B)
正确答案:(B)
Solution
Answer (B): If $a_1=1$, then the list must be an increasing sequence. Otherwise let $k=a_1$. Then the numbers 1 through $k-1$ must appear in increasing order from right to left, and the numbers from $k$ through 10 must appear in increasing order from left to right. For $2\le k\le 10$ there are $\binom{9}{k-1}$ ways to choose positions in the list for the numbers from 1 through $k-1$, and the positions of the remaining numbers are then determined. The number of lists is therefore $$ 1+\sum_{k=2}^{10}\binom{9}{k-1}=\sum_{k=0}^{9}\binom{9}{k}=2^9=512. $$ OR If $a_{10}$ is not 1 or 10, then numbers larger than $a_{10}$ must appear in reverse order in the list, and numbers smaller than $a_{10}$ must appear in order. However, 1 and 10 cannot both appear first in the list, so the placement of either 1 or 10 would violate the given conditions. Hence $a_{10}=1$ or 10. By similar reasoning, when reading the list from right to left the number that appears next must be the smallest or largest unused integer from 1 to 10. This gives 2 choices for each term until there is one number left. Hence there are $2^9=512$ choices.
答案(B):如果 $a_1=1$,那么该列表必须是一个递增序列。否则令 $k=a_1$。那么从 1 到 $k-1$ 的数字必须在列表中从右到左按递增顺序出现,而从 $k$ 到 10 的数字必须在列表中从左到右按递增顺序出现。对 $2\le k\le 10$,从 1 到 $k-1$ 的数字在列表中位置的选取共有 $\binom{9}{k-1}$ 种方法,而其余数字的位置因此被唯一确定。所以列表总数为 $$ 1+\sum_{k=2}^{10}\binom{9}{k-1}=\sum_{k=0}^{9}\binom{9}{k}=2^9=512. $$ 或者 如果 $a_{10}$ 不是 1 或 10,那么大于 $a_{10}$ 的数字必须在列表中按逆序出现,小于 $a_{10}$ 的数字必须按顺序出现。然而,1 和 10 不可能同时出现在列表的第一个位置,因此无论把 1 还是 10 放在首位都会违反题设条件。故 $a_{10}=1$ 或 10。用类似的推理,从右向左读列表时,下一个出现的数必须是 1 到 10 中尚未使用的最小数或最大数。除最后剩下一个数外,每一项都有 2 种选择。因此共有 $2^9=512$ 种选择。
Topics
Related Questions
Practice full AMC exams on amcdrill.
Try full-length practice and diagnostics at www.amcdrill.com.