2022 AMC 10 A

Complete problem set with solutions and individual problem pages

Problem 24 Easy

How many strings of length 5 formed from the digits 0, 1, 2, 3, 4 are there such that for each j\in\left\{ 1,2,3,4\right\}, at least j of the digits are less than j? (For example, 02214 satisfies the condition because it contains at least 1 digit less than 1, at least 2 digits less than 2, at least 3 digits less than 3, and at least 4 digits less than 4. The string 23404 does not satisfy the condition because it does not contain at least 2 digits less than 2.)

  • A.

    500

  • B.

    625

  • C.

    1089

  • D.

    1199

  • E.

    1296

Answer:E

Suppose a<b<c<d<e. Then let's do the casework.

① If 5 numbers are all distinct, 5!=120.

② If one number is counted twice, 10\times \frac{5!}{2}=600.

③ If two numbers are counted twice, 10\times \frac{5!}{2 \cdot 2}=300.

④ If one number is counted 3 times, 10\times \frac{5!}{3!}=200.

⑤If one number is counted 3 times and the others are counted twice, 5\times \frac{5!}{2!\cdot3!}=50.

⑥ If one number is counted 4 times, 5 \times 5=25.

⑦ If one number is counted 5 times, only 1 possible way.

In total, 120+600+300+200+50+25+1=1296.