2012 AMC 10B Problem 22

Attempt Problem 22 of the 2012 AMC 10B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2012 AMC 10B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

22.

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

 120 \ 120

512 512

 1024 \ 1024

181,440 181,440

 362,880 \ 362,880

Answer: B
Concepts:arrangements with restrictionsrecursive countingwork backwards
Difficulty rating: 2060
Solution:

Every prefix a1,a2,,aia_1,a_2,\ldots,a_i must form an interval of consecutive integers: each new term is required to be one more or one less than a term already present. In particular, the full set is the interval [1,10].[1,10].

Read the list backward. At each step, the term removed must be either the smallest or the largest integer in the current interval; removing an interior term would leave that term with no adjacent predecessor in the forward list. Conversely, every sequence of endpoint removals produces a valid list. There are two choices for each of a10,a9,,a2,a_{10},a_9,\ldots,a_2, after which a1a_1 is forced. Hence there are 29=5122^9=512 lists.

Thus, the correct answer is B .

← Problem 21#21
Full Exam

Problem 22 in Other Years