{"status": "success", "data": {"description_md": "How many strings of length $5$ formed from the digits $0$, $1$, $2$, $3$, $4$ are there such that for each $j \\in \\{1,2,3,4\\}$, at least $j$ of the digits are less than $j$? (For example, $02214$ satisfies this condition<br>because it contains at least $1$ digit less than $1$, at least $2$ digits less than $2$, at least $3$ digits less<br>than $3$, and at least $4$ digits less than $4$. The string $23404$ does not satisfy the condition because it<br>does not contain at least $2$ digits less than $2$.)\n\n$\\textbf{(A) }500\\qquad\\textbf{(B) }625\\qquad\\textbf{(C) }1089\\qquad\\textbf{(D) }1199\\qquad\\textbf{(E) }1296$\n___\nFull credit goes to [MAA](https://maa.org/) for authoring these problems. These problems were taken on the [AOPS](https://artofproblemsolving.com/) website.", "description_html": "<p>How many strings of length  <span class=\"katex--inline\">5</span>  formed from the digits  <span class=\"katex--inline\">0</span> ,  <span class=\"katex--inline\">1</span> ,  <span class=\"katex--inline\">2</span> ,  <span class=\"katex--inline\">3</span> ,  <span class=\"katex--inline\">4</span>  are there such that for each  <span class=\"katex--inline\">j \\in \\{1,2,3,4\\}</span> , at least  <span class=\"katex--inline\">j</span>  of the digits are less than  <span class=\"katex--inline\">j</span> ? (For example,  <span class=\"katex--inline\">02214</span>  satisfies this condition<br/>because it contains at least  <span class=\"katex--inline\">1</span>  digit less than  <span class=\"katex--inline\">1</span> , at least  <span class=\"katex--inline\">2</span>  digits less than  <span class=\"katex--inline\">2</span> , at least  <span class=\"katex--inline\">3</span>  digits less<br/>than  <span class=\"katex--inline\">3</span> , and at least  <span class=\"katex--inline\">4</span>  digits less than  <span class=\"katex--inline\">4</span> . The string  <span class=\"katex--inline\">23404</span>  does not satisfy the condition because it<br/>does not contain at least  <span class=\"katex--inline\">2</span>  digits less than  <span class=\"katex--inline\">2</span> .)</p>&#10;<p> <span class=\"katex--inline\">\\textbf{(A) }500\\qquad\\textbf{(B) }625\\qquad\\textbf{(C) }1089\\qquad\\textbf{(D) }1199\\qquad\\textbf{(E) }1296</span> </p>&#10;<hr><p>Full credit goes to <a href=\"https://maa.org/\">MAA</a> for authoring these problems. These problems were taken on the <a href=\"https://artofproblemsolving.com/\">AOPS</a> website.</p>", "hints_md": "", "hints_html": "", "editorial_md": "", "editorial_html": "", "flag_hint": "", "point_value": 5, "problem_name": "2022 AMC 12A Problem 24", "can_next": true, "can_prev": true, "nxt": "/problem/22_amc12A_p25", "prev": "/problem/22_amc12A_p23"}}