PrevNext

Overview

Counting problems reward clear structure. Break a task into steps, multiply choices, and use symmetry to simplify. Most AMC-level counting reduces to deciding whether order matters, whether repetition is allowed, and whether cases overlap.

Core Tools

Rule of Product

If a process has aa choices for step 1 and bb choices for step 2, then there are abab total outcomes. Multiply when steps are independent.

Factorials

n!n! counts the number of ways to arrange nn distinct objects in order. Special cases: 0!=10! = 1, 1!=11! = 1.

Permutations vs. Combinations

  • Permutations (order matters): P(n,r)=n!(nr)!P(n,r) = \frac{n!}{(n-r)!}.
  • Combinations (order does not matter): (nr)=n!r!(nr)!\binom{n}{r} = \frac{n!}{r!(n-r)!}.
  • Connection: P(n,r)=r!(nr)P(n,r) = r!\binom{n}{r}.

Subsets

The number of subsets of an nn-element set is 2n2^n. Nonempty subsets: 2n12^n-1.

Complementary Counting

When the direct count is messy, count the total and subtract the undesired:

Desired=TotalUndesired.\text{Desired} = \text{Total} - \text{Undesired}.

Casework

Split the problem into disjoint cases that cover all possibilities, solve each case, then sum. Casework is often the fastest way to avoid overcounting.

Key Ideas

  • Decide early: order vs. no order, repetition vs. no repetition.
  • Use P(n,r)P(n,r) for ordered selections, (nr)\binom{n}{r} for unordered.
  • If a restriction is "at least" or "not equal", try the complement.
  • Casework must be disjoint; if it is not, use inclusion-exclusion.

Worked Example

How many 3-digit numbers have strictly increasing digits?

Choose any 3 distinct digits from {0,1,2,,9}\{0,1,2,\ldots,9\}. There are (103)\binom{10}{3} choices. Each choice determines exactly one increasing number, but we must exclude those with a leading 00. If 00 is included, the number starts with 00 and is not 3-digit. The number of invalid choices is (92)\binom{9}{2}. So the answer is (103)(92)=12036=84\binom{10}{3} - \binom{9}{2} = 120 - 36 = 84.

More Examples

Example 1: Permutations

How many 4-character PINs can be made using digits 00--99 if repetition is allowed?

Each position has 10 choices, so the answer is 104=1000010^4 = 10000.

Example 2: Combinations with a Restriction

From 8 students, choose 4 for a committee if two rivals cannot both serve.

All committees: (84)=70\binom{8}{4} = 70. Committees with both rivals: fix them and choose 2 from the remaining 6, giving (62)=15\binom{6}{2} = 15. So the answer is 7015=5570 - 15 = 55.

Example 3: Casework

How many two-digit numbers have digit product a perfect square?

Let the digits be aa and bb. Squares among digits are 0,1,4,90,1,4,9. Check cases:

  • b=0b=0 gives 9 numbers (10,20,,9010,20,\ldots,90).
  • b=1,4,9b=1,4,9 each give a{1,4,9}a\in\{1,4,9\}, so 3 each.
  • Other digits give no solutions.

Total: 9+3+3+3=189+3+3+3=18.

Common Pitfalls

  • Double-counting when order does not matter.
  • Ignoring leading-zero restrictions.
  • Using permutations when combinations are needed.
  • Casework with overlapping cases.
  • Using complement counting without a clear total.
  • Mixing up identical objects with distinct ones.

Strategy Checklist

  • What is the sample space? How many total outcomes?
  • Does order matter? Does repetition matter?
  • Is complement or casework faster?
  • Are the cases disjoint?

Practice Problems

StatusSourceProblem NameDifficultyTags
AMC 8Easy
Show TagsCounting Fundamentals, Patterns, Sequences
AMC 10Easy
Show TagsCasework, Combinations, Counting Fundamentals
AMC 10Hard
Show TagsCasework, Complementary Counting, Counting Fundamentals
AJHSMEEasy
Show TagsCasework, Digit Counting
AJHSMEEasy
Show TagsDirected Graphs, Path Counting
AJHSMEVery Easy
Show TagsCounting, Pattern Recognition
AJHSMENormal
Show TagsGrid Placement, Maximum, Pigeonhole Principle
AJHSMENormal
Show TagsCasework, Palindromes, Time
AJHSMEEasy
Show TagsOrdering, Permutations
AJHSMEHard
Show TagsBurnside's Lemma, Combinatorics, Symmetries
AJHSMEEasy
Show TagsParity, Tiling
AJHSMENormal
Show TagsCombinations, Sum Constraints
AJHSMEEasy
Show TagsCasework, Digit Sum, Parity
AJHSMENormal
Show TagsDigit Counting, Pagination
AJHSMEEasy
Show TagsCasework, Digit Sum
AJHSMENormal
Show TagsCasework, Coloring
AJHSMENormal
Show TagsCombinatorics, Digit Restrictions
AJHSMENormal
Show TagsCombinations, Parity
AJHSMENormal
Show Tags3D Geometry, Combinatorics
AJHSMEEasy
Show TagsCounting Triangles, Visual Puzzles
AMC 8Normal
Show TagsMultiplication Principle, Optimization
AMC 8Easy
Show TagsCombinations, Multiplication Principle
AMC 8Normal
Show TagsInclusion-Exclusion, Symmetry
AMC 8Normal
Show TagsCasework, Digit Counting
AMC 8Easy
Show TagsCombinatorics, Permutations
AMC 8Easy
Show TagsGraph Theory, Networks
AMC 8Very Easy
Show TagsDigits, Permutations
AMC 8Very Easy
Show TagsChoosing Subsets, Combinations
AMC 8Very Easy
Show TagsCasework, Digit Sums
AMC 8Easy
Show TagsCombinatorics, Graph Theory
AMC 8Easy
Show TagsArithmetic Progression, Divisibility
AMC 8Easy
Show TagsCollinear Points, Combinatorics
AMC 8Easy
Show TagsCasework, Digit Sums, Perfect Squares
AMC 8Very Easy
Show TagsMultiplication Principle
AMC 8Easy
Show TagsCombinatorics, Grid Filling, Latin Squares
AMC 8Normal
Show TagsCasework, Permutations, Prime Factorization
AMC 8Hard
Show TagsCasework, Geometry, Triangles
AMC 8Normal
Show TagsCombinatorics, Digit Restrictions
AMC 8Normal
Show TagsCasework, Recursion
AMC 8Very Easy
Show TagsCombinations, Sums
AMC 8Easy
Show TagsGeometry Counting
AMC 8Normal
Show TagsConstraints, Permutations
AMC 8Easy
Show TagsCasework, Permutations
AMC 8Easy
Show TagsCombinations, Handshake Problem
AMC 8Normal
Show TagsGrid, Path Counting
AMC 8Normal
Show TagsCounting, Grid
AMC 8Easy
Show TagsCombinatorics, Path Counting
AMC 8Easy
Show TagsCombinatorics, Graph Theory
AMC 8Very Easy
Show TagsPermutations
AMC 8Easy
Show TagsDigit Restrictions, Permutations
AMC 8Easy
Show Tags3D Geometry, Combinatorics
AMC 8Easy
Show TagsComplementary Counting, Permutations
AMC 8Normal
Show TagsPath Counting, Symmetry
AMC 8Normal
Show TagsBlock Method, Permutations
AMC 8Normal
Show TagsCombinatorics, XOR Logic
AMC 8Easy
Show TagsCombinatorics, Digit Restrictions
AMC 8Easy
Show TagsComplementary Counting, Permutations
AMC 8Normal
Show TagsGrid Walking, Pascal's Triangle, Paths
AMC 8Normal
Show TagsArrangements, Permutations, Stars and Bars
AMC 8Hard
Show TagsCasework, Combinatorics, Grid Patterns
AMC 8Normal
Show TagsGrid, Patterns
AMC 8Normal
Show TagsCombinations, Magic Squares (concept)
AMC 8Easy
Show TagsIterative Processes, Tree Diagram
AMC 8Normal
Show TagsCatalan Numbers Equivalent, Combinatorics, Paths
AMC 8Normal
Show TagsCasework, Chessboard, Combinatorics
AMC 8Normal
Show TagsExtremal Principle, Grid Coloring, Optimization
AMC 8Hard
Show TagsGraph Theory, Logic, Number Placement

Module Progress:

Join the AoPS Community!

Stuck on a problem, or don't understand a module? Join the AoPS community and get help from other math contest students.

PrevNext