2022 AMC 12A Problem 19

Attempt Problem 19 of the 2022 AMC 12A 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 2022 AMC 12A solutions, or check the answer key.

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

19.

Suppose that 1313 cards numbered 1,2,3,,131,2,3,\ldots,13 are arranged in a row. The task is to pick them up in numerically increasing order, working repeatedly from left to right. In the example below, cards 1,2,31,2,3 are picked up on the first pass, 44 and 55 on the second pass, 66 on the third pass, 7,8,9,107,8,9,10 on the fourth pass, and 11,12,1311,12,13 on the fifth pass. For how many of the 13!13! possible orderings of the cards will the 1313 cards be picked up in exactly two passes?

40824082

40954095

40964096

81788178

81918191

Answer: D
Concepts:permutationspattern recognition
Difficulty rating: 2010
Solution:

Let pos(k)\text{pos}(k) be the position of card k.k. A fresh pass is needed exactly when pos(k+1)<pos(k),\text{pos}(k+1)\lt\text{pos}(k), so the number of passes is one more than the number of descents in the sequence pos(1),pos(2),,pos(13).\text{pos}(1),\text{pos}(2),\ldots,\text{pos}(13).

To build a permutation with at most one descent, choose the entries before the possible descent and write both chosen blocks in increasing order. There are 2132^{13} subsets. The 1414 initial segments ,{1},,{1,,13}\varnothing,\{1\},\ldots,\{1,\ldots,13\} produce no descent; every other subset produces a unique permutation with one descent. Hence the count is 21314=8178.2^{13}-14=8178.

Thus, the correct answer is D.

← Problem 18#18
Full Exam

Problem 19 in Other Years