2022 AMC 10 A Problem 22
One Page to Learn. One Point to Earn.
In This Page:
To help you master 2022 AMC 10 A Problem 22, 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 22
22.
Suppose that cards numbered , , ,, are arranged in a row. The task is to pick them up in numerically increasing order, working repeatedly from left to right. In the example below, cards , , are picked up on the first pass, and on the second pass, on the third pass , , , on the fourth pass, and , , on the fifth pass. For how many of the ! possible orderings of the cards will the cards be picked up in exactly two passes?
Solution
Position Selection Method
If the cards are picked up in exactly two passes, there must be some card where the first pass ends. By choosing the positions for the cards in the first pass, we can count the valid arrangements.
The sum of all binomial coefficients for a given is . This represents the total number of subsets of a set of size . We use this to quickly evaluate the sum of without calculating each term individually.
Step 1: Understand the condition for exactly two passes
If the cards are picked up in exactly two passes, there must be some integer such that the first group of cards is picked up in the first pass, and the remaining cards are picked up in the second pass. Because the pickup process is deterministic, each valid arrangement has exactly one such . Thus, we can count the number of valid arrangements for each and sum them up.
Step 2: Identify the requirements for a specific
For the first group of cards to be picked up in the first pass, they must appear in left-to-right order. The same applies to the second group. Finally, to ensure the first card of the second group is not picked up early, it must be located to the left of the last card of the first group.
Step 3: Count the ways to place the cards for a fixed
An arrangement is completely determined by choosing which positions will hold the first group of cards. Once the positions are chosen, the cards for the first pass must be placed in these positions from left to right. The remaining cards must be placed in the remaining positions from left to right.
Step 4: Exclude the invalid arrangements
We must ensure the condition that the first card of the second pass is to the left of the last card of the first pass. This fails only if all chosen positions are to the left of all unchosen positions, which happens exactly when the chosen positions are the first consecutive spots. In this single failing case, the cards are perfectly sorted and would be picked up in one pass. We subtract this 1 invalid case.
Step 5: Sum over all possible values of
The number of cards in the first pass can be any integer from 1 to 12. We sum the valid arrangements over all these possibilities. Using the sum of binomial coefficients, we can evaluate the total.
The exact answer is 8178, which corresponds to choice D. We can verify the order of magnitude: the total number of subsets of 13 items is 8192. Since exactly 14 subsets result in a perfectly sorted array (1 pass), the remaining 8178 subsets result in exactly 2 passes. This confirms our subtraction is correct.
Inverse Permutation Method
Track the positions of the cards . The number of passes is determined by how many times we have to ‘jump backwards’ to find the next number. We can count the sequences of positions that have exactly one backward jump.
A ‘descent’ in a sequence occurs when a term is strictly greater than the next term. Counting passes in a left-to-right scanning process is equivalent to counting descents in the sequence of the items’ positions.
Step 1: Translate the process into a sequence of positions
Let the position of each card be recorded. We start by finding the first card. We then look for the next card. If its position is greater, we find it in the same pass. If its position is smaller, we must start a new pass. In general, a new pass begins exactly when the position drops.
Step 2: Relate passes to descents
We want the cards to be picked up in exactly two passes. This means the sequence of positions must have exactly one drop, known as a ‘descent’. Since each card ordering has a unique sequence of positions, we just need to count the number of position sequences that have exactly one descent.
Step 3: Construct permutations with exactly 1 descent
A permutation with exactly 1 descent consists of two increasing blocks. We can construct such a sequence by choosing a subset of the numbers to form the first block. The remaining numbers will form the second block. We arrange the chosen subset in increasing order, followed by the remaining numbers in increasing order.
Step 4: Exclude subsets that produce 0 descents
This construction creates a sequence with at most 1 descent. It fails to have exactly 1 descent only if it is perfectly sorted, which happens when the chosen subset consists of the first consecutive integers. There is one such subset for each possible size from 0 to 13.
Step 5: Conclude the count
Because a descent can only occur at the boundary between the two blocks, the elements of the chosen subset are exactly the numbers appearing before the descent. Thus, distinct valid subsets produce distinct permutations.
The result is 8178, matching choice D. Both the direct position selection and the inverse permutation descent counting yield the exact same logical structure and final arithmetic, confirming the result.
Similar Problems in Real Exams
The following five AMC 10 A problems are closely related to AMC 10 A 2022 Question 22. 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.
2024 AMC 10 A Problem 6
2025 AMC 10 A Problem 12
2025 AMC 10 A Problem 24
2024 AMC 10 A Problem 9
2024 AMC 10 A Problem 25
Adapted Problems to Practice
What Formulas Do You Need for This Problem?
- Sum of Binomial Coefficients:
is a non-negative integer, and ranges from to . It allows us to quickly sum the number of valid arrangements across all possible sizes of the first pass.
- Permutation Descents:
Applies to any sequence of numbers. The number of passes required to pick up the cards is exactly plus the number of descents in the sequence of the cards' positions.
Key Takeaway: Remember This Strategy for Next Time
A process that repeatedly scans an array from left to right to find items in a specific order.
Try: Track the *positions* of the items rather than the items themselves. A new pass is triggered exactly when the position of the next item is smaller than the current one.
Why: This transforms a dynamic algorithmic process into a static property of a sequence (counting descents), which is much easier to model combinatorially.
A sequence that is partitioned into two increasing blocks.
Try: Model the sequence by choosing a subset of values for the first block. The remaining values automatically form the second block.
Why: Since the order within each block is strictly increasing, the subset of elements completely determines the entire sequence. This reduces a permutation problem to a simpler subset-choosing problem.
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.

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.
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:
- Think Kids: Ages 3-5
- Math
- Lower Elementary Math — Grades 1–2
- Upper Elementary Math — Grades 3–5
- Middle School Math — Grade 6–8
- High School Math — Grade 9-12
- ELA
- Elementary ELA — Grades 2–5
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!














