2022 AMC 12A Problem 24

Below is the professionally curated solution for Problem 24 of the 2022 AMC 12A, 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 of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:arrangements with restrictionscasework

Difficulty rating: 2380

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

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(3)2, d(4)3d_{(1)}=0,\ d_{(2)}\le1,\ d_{(3)}\le2,\ d_{(4)}\le3 (with d(5)4d_{(5)}\le4 automatic).

Counting the ordered strings of digits from {0,1,2,3,4}\{0,1,2,3,4\} whose sorted values obey these bounds gives 1296.1296.

Thus, the correct answer is E.

Problem 24 in Other Years