2022 AMC 10 A Problem 24

AMC 10 Post-Exam Webinar

Plan Your Next Step: AMC 10, AMC 12, or AIME.

Tue. Nov.17

AMC 10 Post-Exam Webinar

Plan Your Next Step: AMC 10, AMC 12, or AIME.

Tue. Nov.17

One Page to Learn. One Point to Earn.

In This Page:

To help you master 2022 AMC 10 A Problem 24, this page includes:

  • The original AMC problem to try, plus the correct answer
  • Clear, step-by-step solutions using different methods
  • Key ideas, useful formulas, and takeaways you can apply to similar problems
  • Related problems from past AMC exams, plus new practice problems that build the same skills

Want more practice? Scroll down to download Think Academy’s AMC 10 practice packs and keep building your AMC 10 A skills.

2022 AMC10 A Problem 24

AMC 10 A · 2022 · Question 24
Hard
CombinatoricsCounting PrinciplesDigit, String & Code Counting

24.

How many strings of length formed from the digits , , , , are there such that for each , at least of the digits are less than ? (For example, satisfies the condition because it contains at least digit less than , at least digits less than , at least digits less than , and at least digits less than . The string does not satisfy the condition because it does not contain at least digits less than .)

Choose one answer · Attempt 1 of 3

Small Hint

If a string fails the condition for but passes for and , exactly how many digits must be less than 2?

Choose one answer · Attempt 2 of 3

Small Hint

If a string fails the condition for but passes for and , exactly how many digits must be less than 2?

Choose one answer · Attempt 3 of 3

Small Hint

If a string fails the condition for but passes for and , exactly how many digits must be less than 2?

Solution

Complement Counting by First Violation

Instead of counting valid strings directly, count the invalid ones. Group the invalid strings by the *first* condition they fail. This forces exact counts for the digits, making them easy to calculate.

Step 1: Define the conditions mathematically

Let be the number of digits in the string that are strictly less than . The problem requires the string to satisfy four conditions:

Step 2: Set up complement counting

We will count the number of invalid strings and subtract this from the total number of possible 5-digit strings.

Step 3: Classify invalid strings by their first failure

An invalid string fails at least one condition. Let be the smallest number for which the condition fails. This means the string fails at , but passes for all .

Step 4: Deduce the exact digit counts at the first failure

Because counts the digits less than , and counts the digits less than , the former must be at least as large as the latter. Since is the first failure, the condition for is satisfied. However, the condition for fails. Combining these inequalities forces both counts to be exactly .

Step 5: Interpret the exact counts

The equality means exactly digits are less than , and no digits are equal to . The remaining digits must be greater than .

Step 6: Count invalid strings for

For the first case, there are no digits less than 1, meaning there are no ‘0’s. All 5 digits are chosen from the remaining 4 options.

Step 7: Count invalid strings for

Here, exactly 1 digit is less than 1 (so it is ‘0’), and 0 digits are equal to 1. The remaining 4 digits are chosen from the 3 options greater than 1. We choose 1 position for the ‘0’ and fill the rest.

Step 8: Count invalid strings for

Exactly 2 digits are chosen from the options less than 2, and 0 digits are equal to 2. The remaining 3 digits are chosen from the 2 options greater than 2. The 2 digits less than 2 must not fail the first condition, meaning they cannot both be ‘1’.

Step 9: Count invalid strings for

Exactly 3 digits are chosen from the options less than 3, and 0 digits are equal to 3. The remaining 2 digits must be ‘4’. The 3 digits less than 3 must not fail the earlier conditions. We subtract the cases where they fail at the first condition (no ‘0’s) or the second condition (exactly one ‘0’ and no ‘1’s, meaning one ‘0’ and two ‘2’s).

Step 10: Calculate the final answer

Sum the invalid strings from all four cases and subtract from the total possible strings.

Correct answer: E.
The number of valid strings is 1296, which corresponds to choice E. We can verify the order of magnitude: the conditions force smaller digits to appear more frequently, eliminating roughly 60% of the total possibilities.

Pollak’s Circle Method (Parking Functions)

The problem’s conditions exactly describe a ‘parking function.’ We can count these elegantly by adding a dummy parking spot and arranging the spots in a circle.

Step 1: Translate the problem into a parking model

Add 1 to each digit to shift the available digits to a 1-indexed set. Let the new values represent the preferred parking spots of 5 cars trying to park in 5 spots in a line. The problem’s condition translates to requiring at least cars to prefer a spot .

Step 2: Connect the condition to successful parking

Imagine each car drives to its preferred spot. If it is empty, it parks; if taken, it drives forward to the next available spot. If the condition holds for all , all 5 cars will successfully park. If it fails for some , too few cars want the early spots, leaving an early spot permanently empty and forcing a car to drive past the last spot.

Step 3: Apply Pollak’s Circle Method

To count these successful preference sequences (known as parking functions), we add a 6th dummy parking spot and arrange all 6 spots in a circle. We now allow cars to have preferences from 1 to 6.

Step 4: Identify the successful sequences

Because the spots are in a circle, cars keep driving until they find a spot. With 5 cars and 6 spots, everyone parks, and exactly 1 spot is left empty. By symmetry, each of the 6 spots is equally likely to be the empty one.

Step 5: Relate back to the linear parking lot

If spot 6 is empty, no car could have preferred spot 6, meaning these sequences only use preferences from 1 to 5. Furthermore, leaving spot 6 empty means no car was forced to drive past spot 5. This perfectly matches the condition for all cars to park successfully in the linear lot.

Correct answer: E.
Both the complement counting method and the parking function formula yield exactly 1296 (Choice E).

Similar Problems in Real Exams

The following five AMC 10 A problems are closely related to AMC 10 A 2022 Question 24. These real AMC 10 A problems test the same key concept—Counting Principles. Click any problem to learn and practice, then continue to the adapted practice section later in this article for more problems to try.

2025 AMC 10 A Problem 12

2025 AMC 10 A Problem 24

2023 AMC 10 A Problem 9

2020 AMC 10 A Problem 6

2024 AMC 10 A Problem 9

Adapted Problems to Practice

1 / 10

What Formulas Do You Need for This Problem?

  • Complement Counting with Ordered Conditions:

When a valid state requires passing a sequence of conditions, you can count the complement by grouping failures according to the *first* condition that fails.

Applies when conditions are cumulative or ordered. Grouping by the first failure forces the counts for and to be exactly equal, turning inequalities into strict equalities that are easy to compute.

  • Parking Functions:

A sequence of preferences allows cars to park in linear spots if and only if the sorted preferences satisfy . The number of such sequences is .

is the number of cars and spots. The problem's condition is mathematically equivalent to the parking function condition .

Key Takeaway: Remember This Strategy for Next Time

A sequence of cumulative inequality conditions, such as 'at least items are less than '.

Try: Try complement counting by identifying the *first* point of failure.

Why: The first failure provides strict equalities (e.g., exactly items are less than ), which makes counting the remaining choices straightforward.

The specific condition 'at least elements are ' or 'the -th sorted element is '.

Try: Recognize this as the definition of a parking function, which has the simple formula .

Why: Pollak's circle method creates a symmetric bijection that easily counts these sequences by adding a dummy spot and arranging them in a circle.


Unlock More Targeted AMC 10 Practice Resource

Build Stronger Skills. Practice with Purpose. Prepare with Confidence.

Get a complete set of module-focused AMC 10 practice workbooks designed to help students strengthen core concepts, improve problem-solving strategies, and feel more confident on test day.

With 250+ practice problems organized across six essential AMC 10 modules, students can focus on one skill area at a time and learn from clear, step-by-step solutions.

AMC10 Practice Resource Pack

Download the Free AMC 10 Practice Resource Pack

Inside, You’ll Find:

  • 6 module-focused practice workbooks: Algebra, Geometry, Number Theory, Combinatorics, and Probability & Statistics.
  • 250+ AMC 10-style practice problems covering essential concepts and common competition question types.
  • Complete answer keys and step-by-step solutions to help students understand the reasoning behind each answer.
  • Organized, print-ready materials for independent study, guided practice, or extra preparation at home.

Get Instant Access: Fill out the form below to receive our exclusive resource pack.

*Please enter a valid email address to access the materials and receive future prep updates.

 AMC 10 Practice Resource Pack
Free Download

After submission, the download link is in the confirmation message on this page.


About Think Academy

Think Academy US Online, part of TAL Education Group (NYSE: TAL), provides structured math and ELA programs that help students build strong academic foundations and grow with confidence. With expert teachers, proven methods, and innovative AI tools, we nurture learning ability, curiosity, and healthy study habits that support long-term growth and a lifelong love of learning.

Check our programs:

Want more insights on Math & ELA learning and parenting? Fill out the form on this page and subscribe to our newsletter for weekly tips and the latest resources. Join 100,000+ families in our Parent Community!

Leave a Comment & Share Your Thoughts!

Published On: November 3, 2026
Post Content
Think Academy 2026 AMC 10 Post-Exam Planning Webinar (1)

Get expert PreK–12 insights in your inbox every week

To support your child’s learning, confidence, and growth:
✓ Competition & Test Prep
✓ Printable Worksheets
✓ Webinar Invites

Join 100,000+ subscribers in our parent community.

Share This Story, Choose Your Platform!

Related Posts