Skip to main content

2012 AMC 12B Problem 18

Problem 18 of 25IntermediateCombinatorics

Let (a1,a2,…,a10)(a_1, a_2, \ldots, a_{10}) be a list of the first 1010 positive integers such that for each 2≤i≤102 \le i \le 10 either ai+1a_i + 1 or ai−1a_i - 1 or both appear somewhere before aia_i in the list. How many such lists are there?

Answer choices

Show solution

Solution

Once a1=ka_1=k is fixed, the numbers k,k+1,…,10k,k+1,\ldots,10 must appear left to right in increasing order, and the numbers 1,…,k−11,\ldots,k-1 must appear from right to left in increasing order (so each new small number has its successor already placed). For each k,k, the list is determined by choosing which of the 99 positions after the first hold the numbers below k,k, giving (9k−1)\binom{9}{k-1} lists. Summing, ∑k=110(9k−1)=∑j=09(9j)=29=512. \begin{aligned} \sum_{k=1}^{10}\binom{9}{k-1} &= \sum_{j=0}^{9}\binom{9}{j} \\ &= 2^9=512. \end{aligned} Thus, the correct answer is B.
AoPS wiki

Tagged: bijection · combinations

More practice