2022 AMC 12A Problem 24

Attempt Problem 24 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).

24.

How many strings of length 55 formed from the digits 0,1,2,3,40,1,2,3,4 are there such that for each j{1,2,3,4},j\in\{1,2,3,4\}, at least jj of the digits are less than j?j? (For example, 0221402214 satisfies the condition because it contains at least 11 digit less than 1,1, at least 22 digits less than 2,2, at least 33 digits less than 3,3, and at least 44 digits less than 4.4. The string 2340423404 does not satisfy the condition because it does not contain at least 22 digits less than 2.2.)

500500

625625

10891089

11991199

12961296

Answer: E
Concepts:arrangements with restrictionscasework
Difficulty rating: 2380
Solution:

Sort the five digits as d(1)d(2)d(5).d_{(1)}\le d_{(2)}\le\cdots\le d_{(5)}. The requirement "at least jj digits less than jj" is equivalent to d(j)j1d_{(j)}\le j-1 for j=1,2,3,4,j=1,2,3,4, i.e. d(1)=0, d(2)1,d_{(1)}=0,\ d_{(2)}\le1,  d(3)2, d(4)3\ d_{(3)}\le2,\ d_{(4)}\le3 (with d(5)4d_{(5)}\le4 automatic).

These strings are exactly the parking functions of length 5.5. To count them, arrange 66 parking spaces in a circle and let 55 labeled cars choose arbitrary preferred spaces. Each car moves forward to the first open space. Among the 656^5 preference strings, rotating all preferences cycles the unique empty space through all 66 positions. Therefore exactly 65/6=64=12966^5/6=6^4=1296 strings leave a specified space empty. Choosing that space as the extra sixth space gives precisely the sorted inequalities above.

Thus, the correct answer is E.

← Problem 23#23
Full Exam

Problem 24 in Other Years