🦘 Math Kangaroo ⇄ switch contest
All lessons / Counting & Probability

Counting & Probability — Count carefully. Don't compute.

13 chapters Practice problems →

Showing the Grades 5–8 version. See the simpler Grades 1–4 version →

About this topic

Three friends shake hands once each. Easy — 3 handshakes. Five friends? Still listable. Twenty friends? Now you do not want to draw it. There is a one-line answer, and a kid who knows it beats a kid who draws every line.

That is the whole game. Counting problems look scary because there seem to be hundreds of cases — but almost every one folds down to a small set of moves you can name and reuse:

  1. List when the answer is small enough to write out.
  2. Multiply independent choices.
  3. Count the opposite and subtract.
  4. Split into cases, count each, add.

And probability is not a separate subject. It is counting, done twice: count the outcomes you want, count all the outcomes, divide. If you can count, you can do probability.

Each chapter hands you one new move. By the end you will reach for the right one on sight — and stop drawing twenty handshakes.

CHAPTER 1

Careful listing — when the answer is small enough to write out

THEORY

Try this in your head: write down every way to arrange the letters A, B, C in a row. If you scribble them as they pop up — ACB, BAC, ABC, CBA… — you will lose track and either miss one or write one twice. Now do it again, but force yourself to go in alphabetical order:

  • ABC, ACB
  • BAC, BCA
  • CAB, CBA

Six. And you know it is six, because you marched through it: A first (two ways), then B first (two ways), then C first (two ways). The order did the bookkeeping for you.

That is the entire skill. For a small count, the smartest tool is not a formula — it is writing them all out in a fixed order. The list never lies. The danger was never that listing is slow; it is that a random list double-counts and skips. A systematic one cannot.

THE MOVE: PICK AN ORDER, THEN MARCH

Before you write a single case, choose an order — alphabetical, smallest-first, by the value of one key item. Then walk it without jumping around. Every case appears once, in its slot.

(This particular list is also 3! = 3 × 2 × 1 = 6, the factorial you will meet in chapter 8. For small numbers, the list is clearer than any formula — and it is its own proof.)

Counting digits, not numbers — the page-number trick

A book has pages numbered 1, 2, 3, … up to 150. How many digits get printed in all those page numbers?

Your instinct is to write them all out and count. 150 numbers, each 1 to 3 digits long — that’s a wall of typing. Resist it. The trick: group the pages by how many digits each one uses, and listing collapses into three quick multiplications.

  • 1-digit pages (1–9): that’s 9 pages, 1 digit each → 9 × 1 = 9 digits.
  • 2-digit pages (10–99): that’s 90 pages, 2 digits each → 90 × 2 = 180 digits.
  • 3-digit pages (100–150): that’s 150 − 100 + 1 = 51 pages, 3 digits each → 51 × 3 = 153 digits.

Add the groups: 9 + 180 + 153 = 342 digits. No wall of typing.

(Watch the page count in that last group. From 100 to 150 there are 51 pages, not 50 — count both ends. The classic slip is forgetting the + 1.)

DIGIT BLOCKS

1–9: 9 numbers (1 digit). 10–99: 90 numbers (2 digits). 100–999: 900 numbers (3 digits). Count each block, multiply by its digit-length, add.

Running it backwards

The harder version hands you the digit total and asks for the page count. “A book’s page numbers use 270 digits. How many pages?” Peel off the blocks in order:

  • Pages 1–9 eat 9 digits. Left: 270 − 9 = 261.
  • Pages 10–99 eat 180 more. Left: 261 − 180 = 81.
  • The rest are 3-digit pages: 81 ÷ 3 = 27 of them (pages 100–126).

So the book has 99 + 27 = 126 pages. Same blocks, subtracting your way down instead of adding up.

To count digits across many numbers, group by digit-length first — never write them all out.

Counting a plain list — slide it down to start at 1

How many whole numbers are in the list 9, 10, 11, …, 27? The list does not start at 1, so the last number is not the count. But here is a move that makes it start at 1: subtract 8 from every number. The list slides to 1, 2, 3, …, 19 — same length, and now the last number is the count. So there are 19 numbers.

Sliding the list never changes how many entries it has, so this always works. It gives the formula every counter should own:

HOW MANY FROM a TO b

The count of whole numbers from a to b (both ends included) is

b − a + 1

The + 1 is there because you keep both fenceposts. A fence 10 feet long with a post every foot needs 11 posts, not 10.

Now put it beside the bogus “span ÷ step” from the box below. For multiples in a range, slide them onto 1, 2, 3, … the same way. How many multiples of 4 lie between 25 and 101?

  • Smallest multiple of 4 that is at least 25: since 24 = 4 × 6 is too small, it is 4 × 7 = 28.
  • Largest multiple of 4 that is at most 101: 4 × 25 = 100.
  • So the list is 28, 32, …, 100. Divide every term by 4 to get 7, 8, …, 25 — an ordinary list. Count it: 25 − 7 + 1 = 19 multiples.

The recipe: find the first multiple at or above the low end, the last at or below the high end, divide both by the step, then apply b − a + 1. That positive method is what the bogus shortcut below is faking — and unlike the shortcut, it never misses an endpoint.

🎯 Try it
How many whole numbers are in the list 45, 46, 47, …, 92, 93? (Use b − a + 1.)
Walkthrough: Slide the list down by subtracting 44 from each: 1, 2, …, 49. The last term is the count, so 49. Same as the formula: 93 − 45 + 1 = 49. (Drop the +1 and you would get 48 — the classic fencepost slip, forgetting to keep both ends.)

Framing inspired by AoPS Prealgebra.

🎯 Try it
How many two-digit numbers have digits that add to 10? List them by tens digit (19, 28, …) — and remember the tens digit cannot be 0.
Walkthrough: March up the tens digit, each paired with units = 10 − tens: 19, 28, 37, 46, 55, 64, 73, 82, 91. Every tens digit from 1 to 9 gives one valid number, so the answer is 9. (Trap check: digits adding to 17 would give only 89 and 98 — two — because most units digits would have to exceed 9. The ordered list keeps both counts honest.)

(Digit-counting / page-numbering idea adapted from Problem Solving via the AMC, Australian Maths Trust.)

THE TRICK

When in doubt, list. If you are not sure whether a formula applies, write out the first 4 or 5 cases. Often the pattern jumps out — or the whole list is short enough to finish.

One rule of thumb: if the list is heading past about 25 items, stop and switch to a formula (multiplication, complementary counting). Listing is for small counts; formulas are for big ones.

WATCH OUT
Bogus solution

How many multiples of 10 are there from 11 to 103? The span is 103 − 11 = 92, and the multiples step by 10, so just divide: 92 ÷ 10 = 9.2 → about 9. And for multiples of 10 from 9 to 101, the span is 101 − 9 = 92 too, so that is also 9. Same span, same answer.

Why it breaks: “divide the span by the step” ignores the endpoints — it counts gaps between multiples, not the multiples themselves, and never checks whether each end is actually included. List them and the two cases are different: from 9 to 101 the multiples are 10, 20, …, 100 — that is 10 of them; from 11 to 103 they are 20, 30, …, 100 — only 9, because 10 fell below 11. Same span, different counts.

The fix: shrink to a list you can count. Multiples of 10 up to 100 are 10×1, 10×2, …, 10×10 — divide each by 10 to get 1, 2, …, and count those, both ends included. Beware any quick shortcut you cannot explain — the off-by-one at the ends is where it bites.

Framing inspired by AoPS Prealgebra.

WORKED EXAMPLE
PROBLEM · 2002 #2

How many different combinations of $5 bills and $2 bills can be used to make a total of $17? Order does not matter.

A) 2 B) 3 C) 4 D) 5 E) 6

How many different combinations of $5 and $2 bills make $17? Order doesn't matter.

List by the number of $5 bills used — that's the cleanest ordering because the count of fives can only be 0, 1, 2, or 3 (four fives would already overshoot $17):

  • 3 fives = $15. Need $2 more ⇒ one $2 bill. ✓
  • 2 fives = $10. Need $7 more from $2 bills — impossible ($7 is odd).
  • 1 five = $5. Need $12 more ⇒ six $2 bills. ✓
  • 0 fives = $0. Need $17 from $2 bills — impossible ($17 is odd).

Only the rows with an odd number of fives work (since $2 bills add an even amount, but $17 is odd). That gives 2 combinations.

Listing by 'number of $5 bills used' hits every case exactly once. The parity observation (the number of $5s must be odd) skips the impossible rows in one step.

Answer: A — 2.
RULE OF THUMB

Pick a definite ordering before listing. Walk through systematically. Stop when you've covered every case in your ordering.

MORE LIKE THIS
2004 · #8 Find the number of two-digit positive integers whose digits total 7.

Find the number of two-digit positive integers whose digits total 7.

Show answer
Answer: B — 7.
Show hints
Hint 1 of 2
You don't need to track two digits at once. Once you pick the tens digit, the units digit is forced (it has to finish the sum to 7). So the only real question is: how many legal tens digits are there?
Still stuck? Show hint 2 →
Hint 2 of 2
The principle is one free choice fixes the rest: count only the variable you're actually free to choose. Here a two-digit number can't start with 0, so the tens digit runs 1 to 7 — that's the entire count.
Show solution
Approach: count only the free digit
  1. Pick the tens digit a; the units digit is then forced to 7 − a. So the count equals the number of valid a.
  2. a can be 1, 2, 3, 4, 5, 6, or 7 — it can't be 0 (no leading zero) and can't exceed 7 (then the units digit would go negative). That's 7 values: 16, 25, 34, 43, 52, 61, 70.
  3. You'll reuse this whenever one choice locks in the others — count the driver, not the whole pair.
2011 · #8 Bag A has three chips labeled 1, 3, and 5. Bag B has three chips labeled 2, 4, and 6. If one chip is drawn from each bag, how many...

Bag A has three chips labeled 1, 3, and 5. Bag B has three chips labeled 2, 4, and 6. If one chip is drawn from each bag, how many different values are possible for the sum of the two numbers on the chips?

Show answer
Answer: B — 5 different values.
Show hints
Hint 1 of 2
Bag A is all odd, Bag B is all even, so every sum is odd + even = odd. That instantly rules out even totals — you only need to count which odd numbers are reachable.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the smallest and largest possible sum; every odd number in between turns out to be reachable, so just count the odds in that range.
Show solution
Approach: all sums are odd — count the odds from smallest to largest
  1. Smallest sum: 1 + 2 = 3. Largest: 5 + 6 = 11. Every sum is odd, so the only candidates are 3, 5, 7, 9, 11.
  2. Each of those is achievable (e.g. 5 = 1+4 or 3+2, 7 = 1+6 = 3+4 = 5+2, etc.), so all 5 occur.
  3. That's 5 distinct values.
  4. Worth keeping: spotting that odd + even is always odd cuts the candidate list in half before you compute anything — check the parity of a sum first.
Another way — grid of all 9 sums:
  1. The nine sums are 3, 5, 7 / 5, 7, 9 / 7, 9, 11.
  2. Deduping leaves {3, 5, 7, 9, 11} = 5 values.
2017 · #7 The sum of three different positive whole numbers is 7. How big is their product?

The sum of three different positive whole numbers is 7. How big is their product?

Show answer
Answer: D — 8
Show hints
Hint 1 of 2
Three different positive whole numbers — how many ways can they add to 7?
Still stuck? Show hint 2 →
Hint 2 of 2
There is essentially only one such set.
Show solution
Approach: find the only valid set
  1. The only three different positive whole numbers adding to 7 are 1, 2 and 4.
  2. Their product is 1 × 2 × 4 = 8.
2024 · #6 Ria has three cards with the numbers 1, 5 and 11. She wants to place the cards next to each other to form a 4-digit number. How many...

Ria has three cards with the numbers 1, 5 and 11. She wants to place the cards next to each other to form a 4-digit number. How many different 4-digit numbers can she form?

Show answer
Answer: B — 4
Show hints
Hint 1 of 2
List the orders of the three cards and write out the number each makes.
Still stuck? Show hint 2 →
Hint 2 of 2
Two different orders can spell the same number, so count distinct numbers, not orders.
Show solution
Approach: list the distinct numbers the three cards can spell
  1. Placing cards 1, 5, 11 in a row always gives a 4-digit number.
  2. Writing out the orders gives 1511, 1115, 5111, and 1151 (some orders repeat).
  3. The distinct numbers are 1511, 1115, 5111, 1151.
  4. That is 4 different numbers.
2015 · #4 The Centerville Middle School chess team consists of two boys and three girls. A photographer wants to take a picture of the team to...

The Centerville Middle School chess team consists of two boys and three girls. A photographer wants to take a picture of the team to appear in the local newspaper. She decides to have them sit in a row with a boy at each end and the three girls in the middle. How many such arrangements are possible?

Show answer
Answer: E — 12 arrangements.
Show hints
Hint 1 of 2
The seating breaks into two separate jobs that don't interfere: arrange the boys at the two ends, and arrange the girls in the three middle seats. Solve each job alone.
Still stuck? Show hint 2 →
Hint 2 of 2
When choices are independent, total = (ways for job 1) × (ways for job 2). Arranging k people in k seats has k! ways. (This is the multiplication / rule-of-product principle.)
Show solution
Approach: split into two independent jobs and multiply
  1. The ends are boys-only and the middle is girls-only, so the two choices never collide — handle them separately.
  2. Boys in the 2 end seats: 2! = 2 ways. Girls in the 3 middle seats: 3! = 6 ways.
  3. By the rule of product, total = 2 × 6 = 12.
  4. Why this transfers: any time a setup divides into independent stages, multiply the counts. The only trap is making sure the stages really don't affect each other — here they can't, since boys and girls occupy disjoint seats.
CHAPTER 2

Multiplication principle — independent choices multiply

THEORY

If you make a series of choices, and each choice's count is independent of the others, the total number of outcomes is the product of the counts.

MULTIPLICATION PRINCIPLE

If step 1 has m₁ options, step 2 has m₂ options (regardless of step 1's outcome), step 3 has m₃ options, etc., then the total number of ways to make all the choices is:

m₁ × m₂ × m₃ × …

Why does it work? Picture a tree. Each level is one choice. The first choice has m₁ branches; each of those splits into m₂ branches; each of those into m₃; and so on. The total number of leaves at the bottom is the product.

startshirt Ashirt Bshirt CP1P2P3P4P1P2P3P4P1P2P3P412 outfits3 × 4 = 12

3 shirts × 4 pants — three branches, each splitting into four.

Add 2 hats and each leaf splits again: 3 × 4 × 2 = 24 outfits.

When the count changes after each step. If picking the second item depends on the first — say, you can't pick the same item again — then the count of choices shrinks at each step. For a 3-letter sequence from {A, B, C, D, E} with no letter repeated:

  • 1st letter: 5 choices.
  • 2nd letter: 4 choices (anything except the first).
  • 3rd letter: 3 choices (anything except the first two).

Total: 5 × 4 × 3 = 60.

This shrinking-pool pattern is called a permutation (chapter 8 has more).

Arranging in a circle

Five friends in a row: 5! = 120 orders. Now seat them around a round table. You get fewer — here's why.

A circle has no “first seat.” The order ABCDE is the same as BCDEA, CDEAB, DEABC, EABCD — spin the table and nobody has moved relative to anyone else. Every circular seating got counted 5 times inside that 120.

So divide it out: 5! ÷ 5 = 24 seatings.

CIRCLE RULE

In a row: n!. Around a circle: n! ÷ n = (n − 1)!

If flipping it over counts as the same — a necklace you can turn over — halve it again: (n − 1)! ÷ 2.

THE MOVE: at each step ask “how many options do I have right now?” — then multiply.

🎯 Try it
A pass code is a letter from {A, B, C, D} followed by two digits, and the two digits must be different. How many codes are possible?
Walkthrough: Three steps, multiply. Letter: 4 ways. First digit: 10 ways (0–9). Second digit must differ from the first: 9 ways. Total = 4 × 10 × 9 = 360. (Drop the “different” rule and the last step goes back to 10, giving 400. That one word shrank a step from 10 to 9.)

(Circular-arrangement idea adapted from Problem Solving via the AMC, Australian Maths Trust.)

THE TRICK

For each step, ask: how many options do I have now? Multiply. The hardest part isn't the multiplication; it's identifying the right number of choices at each step, which depends on whether earlier choices restrict later ones.

WORKED EXAMPLE
PROBLEM · 2007 #4

A haunted house has six windows. In how many ways can Georgie the Ghost enter the house by one window and leave by a different window?

A) 12 B) 15 C) 18 D) 30 E) 36

Georgie enters through one window and leaves through a different window. Two steps:

  • Choose an entry window: 6 ways.
  • Choose an exit window, different from the entry: 5 ways (anything except the one used).

Total: 6 × 5 = 30 ways.

The “different” constraint shrinks the second count from 6 to 5. Always read the problem for these little restrictions — they change the count.

Answer: D — 30 ways.
RULE OF THUMB

For independent choices: multiply. For “no repeats”: shrink the count by 1 each step. For “distinct in some way”: adjust the count at each step.

MORE LIKE THIS
2004 · #4 Ms. Hamilton's eighth-grade class wants to participate in the annual three-person-team basketball tournament. Lance, Sally, Joy, and...

Ms. Hamilton's eighth-grade class wants to participate in the annual three-person-team basketball tournament. Lance, Sally, Joy, and Fred are chosen for the team. In how many ways can the three starters be chosen?

Show answer
Answer: B — 4.
Show hints
Hint 1 of 2
Choosing who plays is hard to picture, but flip it: picking 3 starters out of 4 is the same as picking the one person who sits out. How many ways to choose the one bench-warmer?
Still stuck? Show hint 2 →
Hint 2 of 2
This is complementary counting: count the small leftover group instead of the big chosen group. Choosing 3-of-4 and choosing 1-of-4 are the same count — that's the symmetry C(n, k) = C(n, nk).
Show solution
Approach: count the one left out (complement)
  1. Each starting trio leaves exactly one person on the bench, so 'how many trios?' = 'how many ways to pick the one who sits?' There are 4 people, so 4 ways.
  2. Why this transfers: whenever you're choosing almost all of a group, count the tiny excluded part instead — far less work. Choosing 18 of 20, for instance, is just choosing the 2 to drop.
Another way — direct combination:
  1. C(4, 3) = 4!/(3! · 1!) = 4.
  2. Same 4, the long way.
2014 · #12 A magazine printed photos of three celebrities along with three photos of the celebrities as babies. The baby pictures did not identify...

A magazine printed photos of three celebrities along with three photos of the celebrities as babies. The baby pictures did not identify the celebrities. Readers were asked to match each celebrity with the correct baby pictures. What is the probability that a reader guessing at random will match all three correctly?

Show answer
Answer: B — 1/6.
Show hints
Hint 1 of 2
There's exactly one correct matching, so the probability is just 1 ÷ (number of possible matchings). The whole problem is counting the orderings.
Still stuck? Show hint 2 →
Hint 2 of 2
Three baby photos can be lined up against the three celebrities in 3! ways.
Show solution
Approach: one favorable outcome over all equally likely orderings
  1. Order the 3 baby photos against the celebrities: 3! = 6 equally likely ways.
  2. Exactly 1 of those 6 is the all-correct matching, so probability = 1/6 = 1/6.
  3. Reusable idea: when every arrangement is equally likely and only one wins, P(win) = 1/(total arrangements). The hard part is always the count, never the division.
Another way — match one celebrity at a time:
  1. First celebrity: 1 of 3 baby photos is right ⇒ chance 1/3.
  2. Given that, the second celebrity: 1 of the 2 remaining is right ⇒ chance 1/2 (and the third is then forced).
  3. Multiply: (1/3)(1/2) = 1/6.
2004 · #2 How many different four-digit numbers can be formed by rearranging the four digits in 2004?

How many different four-digit numbers can be formed by rearranging the four digits in 2004?

Show answer
Answer: B — 6.
Show hints
Hint 1 of 2
There are really only two 'interesting' digits here — the 2 and the 4. The two zeros are interchangeable, and a number can't start with 0. What position can each non-zero digit take?
Still stuck? Show hint 2 →
Hint 2 of 2
Whenever a digit repeats, ordinary 4! over-counts; and a 'no leading zero' rule trims more. Naming both traps — identical-item over-count and the leading-zero restriction — is the whole skill.
Show solution
Approach: place the non-zero digits first
  1. The slick view: a valid number is fixed once you decide where the 2 and 4 sit, because the leftover slots must be the two zeros. The thousands place must be 2 or 4 (no leading 0) — 2 choices — and the other non-zero digit then has 3 open slots — 3 choices. That's 2 × 3 = 6.
  2. Why this beats brute force: you never list anything; the two zeros take care of themselves once the 'real' digits are placed.
  3. You'll meet this again any time a number has repeated digits and a 'first digit can't be 0' rule — place the restricted/distinct items first, let the duplicates fall into the gaps.
Another way — count all, then subtract leading zeros:
  1. All arrangements of {2, 0, 0, 4}: 4!/2! = 12 (divide by 2! because the two 0s are identical).
  2. Bad ones put a 0 in front: the remaining three slots hold {2, 0, 4}, giving 3! = 6 arrangements.
  3. Valid = 12 − 6 = 6.
Another way — just list them:
  1. Smallest first: 2004, 2040, 2400, 4002, 4020, 4200.
  2. That's exactly 6 — a fine check when the count is this small.
2011 · #12 Angie, Bridget, Carlos, and Diego are seated at random around a square table, one person to a side. What is the probability that Angie...

Angie, Bridget, Carlos, and Diego are seated at random around a square table, one person to a side. What is the probability that Angie and Carlos are seated opposite each other?

Show answer
Answer: B — 1/3.
Show hints
Hint 1 of 2
Don't track all four people — only the relationship between Angie and Carlos matters. Plant Angie in a seat and ask: where does Carlos land?
Still stuck? Show hint 2 →
Hint 2 of 2
Once Angie is fixed, Carlos is equally likely in each of the 3 remaining seats. The question becomes "how many of those 3 are opposite her?"
Show solution
Approach: fix one person as a reference, then place the other
  1. Pin Angie in any one seat — this throws away the seating's overall symmetry so we only watch Carlos.
  2. Carlos is equally likely to take any of the 3 leftover seats, and exactly one of them is directly across from Angie.
  3. So the probability is 1 out of 3 = 1/3.
  4. Why this transfers: in seating/circular problems, fixing one object as an anchor turns a messy 4! = 24 count into a simple "where does the one I care about go?"
Another way — count all arrangements:
  1. Total ways to seat 4 people = 4! = 24.
  2. Favorable: choose Angie's seat (4 ways), Carlos takes the opposite seat (1 way), the other two fill the rest (2! = 2). That's 4 × 1 × 2 = 8.
  3. Probability = 8/24 = 1/3.
1997 · #9 Three students, with different names, line up single file. What is the probability that they are in alphabetical order from front to back?

Three students, with different names, line up single file. What is the probability that they are in alphabetical order from front to back?

Show answer
Answer: C — 1/6.
Show hints
Hint 1 of 2
Every possible lineup is equally likely, and only ONE of them is alphabetical. So the question is really 'how many lineups are there in total?'
Still stuck? Show hint 2 →
Hint 2 of 2
Probability of one specific arrangement = 1 ÷ (total number of arrangements). Count the orderings of n distinct items as n × (n−1) × … × 1.
Show solution
Approach: favorable orders over all equally likely orders
  1. Three different people can line up in 3 × 2 × 1 = 6 distinct orders (3 choices for front, 2 for middle, 1 left for back).
  2. Exactly one of those orders is alphabetical, and all 6 are equally likely, so the probability is 1/6.
Another way — pure symmetry — no counting:
  1. Whatever order they happen to stand in, relabeling can't favor one arrangement over another, so each of the possible orders is equally likely.
  2. Alphabetical is just one of those orders. With 3 names there are 3! = 6 orders, so its share is 1/6 — no listing required.
CHAPTER 3

Complementary counting — count what you don't want

THEORY

Count the people in a room who are not wearing a hat. Easy — you glance around and tally the bare heads. Now count the people who are wearing one… the same room, but suddenly you are squinting at every cap and beanie. Same room, two ways to count, and one is far easier. The trick: count the easy side, then subtract from the total.

Contest counting hides this all the time. Whenever the thing you want is messy but its opposite is tidy, count the opposite and subtract.

COMPLEMENTARY COUNTING

|Wanted| = |All| − |Not wanted|

This works because every item is either wanted or not — those two groups together are everything. So if you know how many total there are and how many are NOT wanted, the wanted count is the difference.

The classic signal: phrases like at least one, at least k, contains at least one X, has at least one event A. Trying to count these directly forces you into messy casework (“exactly 1, exactly 2, exactly 3, …”). Instead, count the complement (zero events) and subtract from the total.

Concrete example. How many 4-digit numbers contain at least one digit 2?

  • Total 4-digit numbers: 9000 (from 1000 to 9999).
  • How many contain no 2? The thousands digit has 8 choices (1, 3, 4, 5, 6, 7, 8, 9 — not 0, not 2). The other three digits each have 9 choices (any digit 0–9 except 2). Total without 2: 8 × 9 × 9 × 9 = 5832.
  • So how many contain at least one 2? 9000 − 5832 = 3168.

Counting these directly would require casework on “exactly one 2 / exactly two 2s / exactly three 2s / four 2s” — many cases. Complementary counting collapsed it to one subtraction.

THE MOVE: when you see “at least one,” count the “none” case instead and subtract from the total.

🎯 Try it
You flip a coin 4 times. In how many of the 16 possible outcomes do you get at least one head?
Walkthrough: “At least one head” is messy — it covers one, two, three, or four heads. The opposite is tiny: zero heads means all four flips are tails — exactly 1 outcome (TTTT). Total outcomes = 2 × 2 × 2 × 2 = 16. So at-least-one-head = 16 − 1 = 15.
THE TRICK

The signal phrase is “at least one”. When you see it, immediately think: count the “none” case instead, then subtract.

WORKED EXAMPLE
PROBLEM · 2011 #6

In a town of 351 adults, every adult owns a car, motorcycle, or both. If 331 adults own cars and 45 adults own motorcycles, how many of the car owners do not own a motorcycle?

A) 20 B) 25 C) 45 D) 306 E) 351

351 adults. Every adult owns a car or a motorcycle (or both). 331 own cars; 45 own motorcycles. How many car owners don't own a motorcycle?

Pure complementary counting. Since every adult owns at least one vehicle, the people who don't own a motorcycle must all own a car. So:

car-only = (total) − (motorcycle owners) = 351 − 45 = 306.

You never had to compute how many own both. The complement of 'owns a motorcycle' is exactly 'owns only a car' — one subtraction.

The 'everyone owns at least one' line is the key. It collapses 'car-only' to 'not-a-motorcycle-owner', and the total minus that subgroup gives the answer in one step.

Answer: D — 306.
RULE OF THUMB

For “at least one” or “at least k of X”, count the complement (“none” or “fewer than k”) and subtract.

MORE LIKE THIS
2004 · #21 Spinners A and B are spun. On each spinner, the arrow is equally likely to land on each number. What is the probability that the product...

Spinners A and B are spun. On each spinner, the arrow is equally likely to land on each number. What is the probability that the product of the two spinners' numbers is even?

Figure for AMC 8 2004 Problem 21
Show answer
Answer: D — 2/3.
Show hints
Hint 1 of 2
'Even product' can happen lots of ways (this even, that even, both even) — messy to count. But the opposite is razor-simple: a product is odd only when both spinners are odd. Count that one easy case and subtract.
Still stuck? Show hint 2 →
Hint 2 of 2
The technique is complementary counting: P(even) = 1 − P(odd), and a product is odd exactly when every factor is odd. Whenever 'at least one even' shows up, flip to 'all odd'.
Show solution
Approach: complement (1 minus all-odd)
  1. Spinner A shows 1, 2, 4, 3 — odds are {1, 3}, so P(A odd) = 2/4 = 1/2. Spinner B shows 1, 2, 3 — odds are {1, 3}, so P(B odd) = 2/3.
  2. Product is odd only if both are odd: P(odd) = (1/2)(2/3) = 1/3.
  3. Therefore P(even) = 1 − 1/3 = 2/3.
  4. Why the complement wins: the direct count needs three even-cases, but 'both odd' is a single product — one multiplication instead of several additions. Odd × odd = odd is the only way to dodge an even factor.
Another way — count favorable outcomes directly:
  1. There are 4 × 3 = 12 equally likely (A, B) outcomes.
  2. Odd products come only from A ∈ {1,3} and B ∈ {1,3}: that's 2 × 2 = 4 odd outcomes, so 12 − 4 = 8 even outcomes.
  3. P(even) = 8/12 = 2/3.
2015 · #7 Each of two boxes contains three chips numbered 1, 2, 3. A chip is drawn randomly from each box and the numbers on the two chips are...

Each of two boxes contains three chips numbered 1, 2, 3. A chip is drawn randomly from each box and the numbers on the two chips are multiplied. What is the probability that their product is even?

Show answer
Answer: E — 5/9.
Show hints
Hint 1 of 2
'Even product' happens in lots of ways (either chip even is enough), but 'odd product' happens in just one tidy way: both chips must be odd. Chase the easy case.
Still stuck? Show hint 2 →
Hint 2 of 2
Compute the easy event and subtract from 1: this is complementary counting. Each box has 2 odd values out of 3, and the boxes are independent, so multiply.
Show solution
Approach: complementary counting — find P(odd) and subtract
  1. A product is odd only when both factors are odd, while it's even in many scenarios — so the odd case is the simpler one to count.
  2. Each box has odds {1, 3} out of {1, 2, 3}, a 2/3 chance, and the draws are independent: P(both odd) = (2/3)(2/3) = 4/9.
  3. P(even product) = 1 − 4/9 = 5/9.
  4. Why this transfers: 'at least one __' or 'is even/divisible' events are usually faster through the complement — count the one clean way it fails, then subtract from 1.
Another way — direct count over all 9 outcomes:
  1. The two draws give 3 × 3 = 9 equally likely pairs.
  2. List products: row by row they are 1,2,3 / 2,4,6 / 3,6,9. The even ones are 2,2,4,6,6 — that's 5 outcomes.
  3. Probability = 5/9 = 5/9, matching the complement.
2020 · #10 Zara has a collection of 4 marbles: an Aggie, a Bumblebee, a Steelie, and a Tiger. She wants to display them in a row on a shelf, but...

Zara has a collection of 4 marbles: an Aggie, a Bumblebee, a Steelie, and a Tiger. She wants to display them in a row on a shelf, but does not want to put the Steelie and the Tiger next to one another. In how many ways can she do this?

Show answer
Answer: C — 12 ways.
Show hints
Hint 1 of 2
“Not next to each other” is awkward to count head-on. Flip it: count everything, then subtract the arrangements where they are next to each other.
Still stuck? Show hint 2 →
Hint 2 of 2
To count the bad ones, glue Steelie and Tiger into a single block (they're forced together): 3 items arrange 3! = 6 ways, and the block flips 2 ways → 12 bad. Subtract from 4! = 24.
Show solution
Approach: complementary counting with the glue trick
  1. All arrangements of 4 distinct marbles: 4! = 24.
  2. Bad ones (Steelie–Tiger touching): glue them into one block, leaving 3 items → 3! = 6 orders; the block itself is ST or TS → ×2 = 12 bad.
  3. Good = 24 − 12 = 12.
  4. You'll see this again as: for a “must be adjacent” condition, glue them into one unit; for “must not be adjacent,” count the total and subtract the glued case. Two tools that pair up on almost every seating problem.
Another way — gap method (place the others first):
  1. Place the Aggie and Bumblebee first: 2! = 2 orders. They create 3 gaps: _ A _ B _.
  2. Drop Steelie and Tiger into two different gaps so they can't touch: choose 2 of the 3 gaps and order them, 3 × 2 = 6 ways.
  3. 2 × 6 = 12. The gap method builds only the good arrangements directly — no subtracting.
2025 · #7 On the most recent exam in Prof. Xochi's class,5 students earned a score of at least 95%,13 students earned a score of at least 90%,27...

On the most recent exam in Prof. Xochi's class,

  • 5 students earned a score of at least 95%,
  • 13 students earned a score of at least 90%,
  • 27 students earned a score of at least 85%, and
  • 50 students earned a score of at least 80%.

How many students earned a score of at least 80% and less than 90%?

Show answer
Answer: D — 37 students.
Show hints
Hint 1 of 2
These groups aren't separate piles — "at least 80%" already contains everyone who scored at least 90%. They're nested, like measuring cups inside each other.
Still stuck? Show hint 2 →
Hint 2 of 2
So to get just the 80–90% band, take the big group and subtract the part of it you don't want. Which two of the four counts do you need? (The 85% and 95% lines are decoys.)
Show solution
Approach: subtract the inner group from the outer (don't add the bands)
  1. The four counts are nested, not separate: the 13 who scored ≥ 90% sit inside the 50 who scored ≥ 80%. So you subtract, you don't add.
  2. Students in [80%, 90%) = (those ≥ 80%) − (those ≥ 90%) = 50 − 13 = 37. The 85% and 95% counts are just there to distract.
  3. Why this transfers: with "at least" cutoffs, the count for a band is the difference of two cumulative counts — spot the nesting and subtract instead of trying to build each band from scratch.
2002 · #21 Harold tosses a nickel four times. The probability that he gets at least as many heads as tails is

Harold tosses a nickel four times. The probability that he gets at least as many heads as tails is

Show answer
Answer: E — 11/16.
Show hints
Hint 1 of 2
A coin has no preference for heads over tails, so "heads ≥ tails" must be exactly as likely as "tails ≥ heads." Those two cases together cover *everything* — but they double-count something.
Still stuck? Show hint 2 →
Hint 2 of 2
The only outcome that fits both is a 2–2 tie. So the two equal halves overlap precisely on the tie: 2·(what you want) = 1 + P(tie). Find the tie, and you're done.
Show solution
Approach: use heads–tails symmetry
  1. Heads and tails are interchangeable, so P(heads ≥ tails) = P(tails ≥ heads). Together these events cover all outcomes, overlapping only on the 2–2 tie.
  2. By inclusion-exclusion, P(H≥T) + P(T≥H) = 1 + P(tie), i.e. 2·P(H≥T) = 1 + P(tie). The tie has C(4,2) = 6 of the 16 equally likely outcomes, so P(tie) = 6/16 = 3/8.
  3. Then P(heads ≥ tails) = (1 + 3/8) ÷ 2 = 11/16.
  4. *Why this transfers:* when two symmetric events together fill the whole sample space, you don't count both — you write 2·P = 1 + P(overlap) and only the small overlap needs counting.
Another way — just count the winning outcomes:
  1. "At least as many heads as tails" over 4 flips means 2, 3, or 4 heads.
  2. Ways: C(4,2) + C(4,3) + C(4,4) = 6 + 4 + 1 = 11, out of 2⁴ = 16 outcomes.
  3. Probability = 11/16.
★ MINI-QUIZ

Listing, multiplication, complement

Three problems on the most basic counting moves.

2004 · #8 Find the number of two-digit positive integers whose digits total 7.

Find the number of two-digit positive integers whose digits total 7.

Show answer
Answer: B — 7.
Show hints
Hint 1 of 2
You don't need to track two digits at once. Once you pick the tens digit, the units digit is forced (it has to finish the sum to 7). So the only real question is: how many legal tens digits are there?
Still stuck? Show hint 2 →
Hint 2 of 2
The principle is one free choice fixes the rest: count only the variable you're actually free to choose. Here a two-digit number can't start with 0, so the tens digit runs 1 to 7 — that's the entire count.
Show solution
Approach: count only the free digit
  1. Pick the tens digit a; the units digit is then forced to 7 − a. So the count equals the number of valid a.
  2. a can be 1, 2, 3, 4, 5, 6, or 7 — it can't be 0 (no leading zero) and can't exceed 7 (then the units digit would go negative). That's 7 values: 16, 25, 34, 43, 52, 61, 70.
  3. You'll reuse this whenever one choice locks in the others — count the driver, not the whole pair.
2007 · #4 A haunted house has six windows. In how many ways can Georgie the Ghost enter the house by one window and leave by a different window?

A haunted house has six windows. In how many ways can Georgie the Ghost enter the house by one window and leave by a different window?

Show answer
Answer: D — 30 ways.
Show hints
Hint 1 of 2
Build the trip in two stages: pick the entrance, then the exit. The word 'different' is the whole catch — one window is already used up.
Still stuck? Show hint 2 →
Hint 2 of 2
Multiplication principle: independent choices multiply, and 'no repeats' just shrinks the second pool by one.
Show solution
Approach: multiply the stage-by-stage choices
  1. Stage 1 (enter): 6 windows to choose from.
  2. Stage 2 (leave): must differ from the entrance, so one window is off the table — 5 left.
  3. Multiply the stages: 6 · 5 = 30.
  4. You'll reuse this: 'pick an ordered pair of distinct things from n' is always n · (n−1) — first/second place in a race, president/VP, in/out doors.
2011 · #6 In a town of 351 adults, every adult owns a car, motorcycle, or both. If 331 adults own cars and 45 adults own motorcycles, how many of...

In a town of 351 adults, every adult owns a car, motorcycle, or both. If 331 adults own cars and 45 adults own motorcycles, how many of the car owners do not own a motorcycle?

Show answer
Answer: D — 306.
Show hints
Hint 1 of 2
Flip the question: instead of "car owners without a motorcycle," ask "who has no motorcycle at all?" Since everyone owns at least one vehicle, anyone without a motorcycle must own a car — so those two groups are the same people.
Still stuck? Show hint 2 →
Hint 2 of 2
The 331 car-owners is a decoy here — complementary counting (total minus the unwanted group) sidesteps it entirely.
Show solution
Approach: complementary counting — car-only = everyone who lacks a motorcycle
  1. Every adult owns at least one vehicle, so an adult without a motorcycle owns a car and nothing else — exactly the "car but no motorcycle" group we want.
  2. Count the non-motorcycle owners: 351 − 45 = 306.
  3. Why this transfers: when every item is in "A or B or both," the "A only" group is just everyone minus the B group — counting the complement beats wrestling with the overlap.
Another way — inclusion-exclusion as a check:
  1. Both = cars + motorcycles − total = 331 + 45 − 351 = 25 own both.
  2. Car owners without a motorcycle = 331 − 25 = 306, matching above.
CHAPTER 4

Casework — split, count, add

THEORY

When choices split into types and the counts are different in each type, count each type separately and add. This is called casework.

How to set up clean casework:

  1. Pick the splitting criterion. (Often: “based on what the smallest item is” or “based on which of a few cases applies.”)
  2. List the cases. They must be mutually exclusive (no overlap) and exhaustive (cover everything).
  3. Count each case independently.
  4. Add the counts.

The critical rules:

  • If cases overlap, you'll double-count. Bad.
  • If cases miss some items, you'll undercount. Also bad.

Concrete example. How many ways can two dice show a sum of 7?

Casework on the first die's value:

  • First die = 1: second must be 6. (1 way)
  • First die = 2: second must be 5. (1 way)
  • First die = 3: second must be 4. (1 way)
  • First die = 4: second must be 3. (1 way)
  • First die = 5: second must be 2. (1 way)
  • First die = 6: second must be 1. (1 way)

Total: 6 ways.

Casework on “first die value” gives mutually exclusive cases (first die can only be one number) and exhaustive (covers all 6 possibilities). Perfect.

Split on even vs. odd — the parity case

Some counting questions look like they need a giant sum-by-sum search. Often the only thing that matters is whether each number is even or odd. Split on that and the search collapses to two cases.

Why does parity do so much work? Because even/odd add in a fixed pattern, no matter the actual numbers:

  • even + even = even
  • odd + odd = even
  • even + odd = odd

The rule for a sum: a sum is even exactly when it contains an even number of odd pieces (zero odds, two odds, four odds…). The evens never change the parity — only the odds flip it.

Concrete example. Pick 2 different numbers from {3, 7, 8, 10, 11}. How many pairs have an even sum? The set has 3 odds (3, 7, 11) and 2 evens (8, 10). A two-number sum is even only when both have the same parity:

  • both odd: list the pairs of odds — {3,7}, {3,11}, {7,11} → 3 pairs.
  • both even: only {8,10} → 1 pair.

Total 3 + 1 = 4 even-sum pairs — and you never added a single actual sum. You only counted odds and evens. (Counting pairs like this has a one-line formula, C(n, 2), waiting in chapter 8 — here the list is just as fast.)

Multiply WITHIN a case, add ACROSS cases

This is the line that ties chapters 2 and 4 together. Inside one case you make a chain of choices — that is an AND, so you multiply. Between separate cases you pick exactly one — that is an OR, so you add.

Picture a trip from town A to town D. You may go through B or through C, never both. From A there are 4 roads to B, then 3 roads from B to D; or 2 roads from A to C, then 5 roads from C to D.

ABCD4 roads3 roads2 roads5 roads4×3 + 2×5 = 12 + 10 = 22 trips

Through B: 4 roads AND 3 roads → 4 × 3 = 12 trips. Through C: 2 AND 5 → 2 × 5 = 10 trips. The two routes are exclusive, so add: 12 + 10 = 22 trips. You multiplied inside each route and added across them — that is the whole grammar of counting in one picture.

MULTIPLY WITHIN, ADD ACROSS

Chained choices in one path (AND) → multiply. Separate exclusive cases (OR) → add.

🎯 Try it
A traveller goes from A to D, through B or through C. Through B: 3 roads A→B and 4 roads B→D. Through C: 5 roads A→C and 3 roads C→D. How many different trips are there in all? (Multiply within each route, then add the two routes.)
Walkthrough: Through B: 3 AND 4 → 3 × 4 = 12 trips. Through C: 5 AND 3 → 5 × 3 = 15 trips. The two routes are exclusive, so add: 12 + 15 = 27. (Trap: do not add inside a route, and do not multiply across the two routes — multiply within, add across.)

Framing inspired by AoPS Prealgebra.

THE MOVE: split on the variable that gives the fewest cases — then count each and add.

🎯 Try it
Two standard dice are rolled. In how many of the 36 outcomes is the sum equal to 5? (Split on the value of the first die.)
Walkthrough: Walk the first die. First = 1 → second = 4. First = 2 → 3. First = 3 → 2. First = 4 → 1. First = 5 or 6 would force the second die to 0 or less — impossible. Four live cases, so 4 outcomes. (Compare sum = 7, which had 6 — sums near the middle of the range have the most ways.)
THE TRICK

Pick the casework variable that gives the fewest cases. If splitting on “value of the first card” gives 10 cases but splitting on “parity of the sum” gives 2 cases, prefer parity.

Also: cases don't have to be of equal size. The case “first letter is A” might have 100 sub-counts while “first letter is Z” might have 5 — that's fine. The total is the sum either way.

WORKED EXAMPLE
PROBLEM · 2025 #24

Zita would like to buy some flowers. She can choose between flowers for 3€, 4€ and 5€. How many different bouquets can she buy for exactly 23€?

A) 4 B) 5 C) 6 D) 7 E) 8

Zita buys flowers that cost 3€, 4€, or 5€ each, and wants to spend exactly 23€. How many different bouquets are possible? (A bouquet is only how many of each kind — so “two 4€ flowers” is one bouquet.)

Your instinct is to hunt for combinations at random. You will miss some and repeat others. Instead, pick a splitting variable that pins each case down once. Split on how many 5€ flowers — that number can only be 0, 1, 2, 3, or 4 (five would already cost 25€). For each, see how the remaining euros can be made from 3€ and 4€ flowers:

  • 0 fives → make 23€ from 3s and 4s: (5 threes + 2 fours) or (1 three + 5 fours). 2 ways.
  • 1 five → make 18€: (6 threes) or (2 threes + 3 fours). 2 ways.
  • 2 fives → make 13€: (3 threes + 1 four). 1 way.
  • 3 fives → make 8€: (2 fours). 1 way.
  • 4 fives → make 3€: (1 three). 1 way.

Add the cases: 2 + 2 + 1 + 1 + 1 = 7 bouquets — choice (D).

Splitting on “number of 5€ flowers” makes the cases mutually exclusive (a bouquet has one fixed count of fives) and exhaustive (0 through 4 covers everything). Inside each case the leftover is small enough to read off by hand. Pick the variable that gives the fewest, smallest cases — here, the priciest flower, since it caps out fastest.

Answer: D — 7
RULE OF THUMB

Casework: pick a splitting variable with few options. List, count each case, add. Confirm cases are mutually exclusive and exhaustive.

MORE LIKE THIS
2011 · #8 Bag A has three chips labeled 1, 3, and 5. Bag B has three chips labeled 2, 4, and 6. If one chip is drawn from each bag, how many...

Bag A has three chips labeled 1, 3, and 5. Bag B has three chips labeled 2, 4, and 6. If one chip is drawn from each bag, how many different values are possible for the sum of the two numbers on the chips?

Show answer
Answer: B — 5 different values.
Show hints
Hint 1 of 2
Bag A is all odd, Bag B is all even, so every sum is odd + even = odd. That instantly rules out even totals — you only need to count which odd numbers are reachable.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the smallest and largest possible sum; every odd number in between turns out to be reachable, so just count the odds in that range.
Show solution
Approach: all sums are odd — count the odds from smallest to largest
  1. Smallest sum: 1 + 2 = 3. Largest: 5 + 6 = 11. Every sum is odd, so the only candidates are 3, 5, 7, 9, 11.
  2. Each of those is achievable (e.g. 5 = 1+4 or 3+2, 7 = 1+6 = 3+4 = 5+2, etc.), so all 5 occur.
  3. That's 5 distinct values.
  4. Worth keeping: spotting that odd + even is always odd cuts the candidate list in half before you compute anything — check the parity of a sum first.
Another way — grid of all 9 sums:
  1. The nine sums are 3, 5, 7 / 5, 7, 9 / 7, 9, 11.
  2. Deduping leaves {3, 5, 7, 9, 11} = 5 values.
2024 · #8 On Monday Taye has $2. Every day, he either gains $3 or doubles the amount of money he had on the previous day. How many different...

On Monday Taye has $2. Every day, he either gains $3 or doubles the amount of money he had on the previous day. How many different dollar amounts could Taye have on Thursday, 3 days later?

Show answer
Answer: D — 6 different amounts.
Show hints
Hint 1 of 2
Each day has 2 choices over 3 days, so 2×2×2 = 8 paths — but the question asks for AMOUNTS, not paths. Why might those two counts differ?
Still stuck? Show hint 2 →
Hint 2 of 2
Technique: track the SET of reachable amounts day by day, not the branching paths. When two paths land on the same dollar amount, the set automatically merges them — so you can't over-count.
Show solution
Approach: track the set of reachable amounts, letting duplicates merge
  1. The trap is counting 2×2×2 = 8 paths; the question wants distinct amounts, and some paths collide. So carry a SET forward each day instead of a list of paths. Start $2. Tuesday: 2+3 = 5 or 2×2 = 4 → {4, 5}.
  2. Wednesday, apply both moves to each: 4+3 = 7, 4×2 = 8, 5+3 = 8, 5×2 = 10. The two 8's merge → {7, 8, 10}.
  3. Thursday from {7, 8, 10}: 7→{10,14}, 8→{11,16}, 10→{13,20}, all distinct → {10, 11, 13, 14, 16, 20}.
  4. 6 distinct amounts. This transfers: whenever "how many outcomes" can repeat, count states (the set), not branches — the set throws away duplicates for you. It's the seed of breadth-first thinking.
2020 · #6 Bia has the five coins shown. She goes to the grocery store to buy one fruit, paying with exactly three of the coins and receiving no...

Bia has the five coins shown. She goes to the grocery store to buy one fruit, paying with exactly three of the coins and receiving no change. Among the fruit prices below, which one can she NOT pay for?

Figure for Math Kangaroo 2020 Problem 6
Show answer
Answer: C — 1.40
Show hints
Hint 1 of 2
The coins are 1.00, 0.50, 0.25, 0.10 and 0.05; she uses exactly three of them with no change.
Still stuck? Show hint 2 →
Hint 2 of 2
Check each price: one of the listed totals simply has no three-coin combination.
Show solution
Approach: test each price against all three-coin sums
  1. The five coins are R$1.00, 0.50, 0.25, 0.10 and 0.05.
  2. 1.30 = 1.00+0.25+0.05, 1.35 = 1.00+0.25+0.10, 1.55 = 1.00+0.50+0.05, 1.75 = 1.00+0.50+0.25 - all work.
  3. For 1.40 no choice of three coins adds up (1.00 leaves 0.40 from two coins, impossible; without the 1.00 two coins fall far short).
  4. So she cannot buy the fruit costing 1.40.
2023 · #21 Alina writes the numbers 1, 2, …, 9 on separate cards, one number per card. She wishes to divide the cards into 3 groups of 3 cards so...

Alina writes the numbers 1, 2, …, 9 on separate cards, one number per card. She wishes to divide the cards into 3 groups of 3 cards so that the sum of the numbers in each group will be the same. In how many ways can this be done?

Show answer
Answer: C — 2 ways.
Show hints
Hint 1 of 2
Find the target sum first — that single number tells you a lot. In particular, where can the three largest cards possibly sit?
Still stuck? Show hint 2 →
Hint 2 of 2
Each group sums to 15, so 7, 8, 9 can't share a group (7+8 already overshoots room) — they're spread one per group. Same for 1, 2, 3. Now the only freedom left is where 5 lands; case-split on that.
Show solution
Approach: fix the totals, then place the extreme numbers
  1. The total 1+2+…+9 = 45 splits into three equal groups, so each must sum to 15. That target instantly pins the big and small cards.
  2. 7, 8, 9 must each land in a different group (any two of them already total 15 or more, leaving no room for a positive third). By the same squeeze, 1, 2, 3 spread out one per group too.
  3. So the only real choice is 5's partner-pair, which must sum to 10: {3,5,7}, {2,5,8}, or {1,5,9}. Test each by finishing the other two groups.
  4. {2,5,8} dies: it would leave 1, 3, 7, 9 to form two groups of 15, but 9 needs a 6 (gone) and 7 needs an 8 (gone) — impossible. The other two succeed: {1,5,9}/{3,4,8}/{2,6,7} and {3,5,7}/{1,6,8}/{2,4,9}.
  5. So there are 2 ways. This transfers: in equal-sum partition problems, first compute the target, then corner the extreme values — the largest elements have the fewest legal homes, so placing them first kills most of the casework.
1991 · #14 Several students are competing in a series of three races. A student earns 5 points for winning a race, 3 points for finishing second,...

Several students are competing in a series of three races. A student earns 5 points for winning a race, 3 points for finishing second, and 1 point for finishing third. There are no ties. What is the smallest number of points a student must earn in the three races to be guaranteed of earning more points than any other student?

Show answer
Answer: D — 13.
Show hints
Hint 1 of 3
"Guaranteed" is the key word — you must beat the rival's BEST possible day, not their average. So picture the strongest single opponent and ask: what score do I need so even they can't tie me? Also: every place (5, 3, 1) is odd, so what's true of every three-race total?
Still stuck? Show hint 2 →
Hint 2 of 3
Three odd numbers always sum to an odd number, so all totals are odd: …, 9, 11, 13, … Test the candidates: for each possible score of yours, work out the best a rival could grab from the places you didn't take, and find the smallest score that leaves every rival strictly behind.
Still stuck? Show hint 3 →
Hint 3 of 3
If you score 11 (say 5+3+3), a rival can also reach 11, so 11 isn't safe. Bump to the next odd total and check whether any rival can still match it.
Show solution
Approach: beat the rival's best-case score, not their typical one
  1. "Guaranteed to win" means your total must exceed what the strongest possible rival could score, so think worst-case for you. First, a quick filter: 5, 3, 1 are all odd, and odd + odd + odd is always odd — so every three-race total is odd. Only 9, 11, 13, 15 are reachable; check from the bottom.
  2. Suppose you score 11. One way is 5 + 3 + 3 — but then a rival could take the two 1st places you didn't (5 + 5) plus a 1, reaching 11 and tying you. So 11 can be tied; not safe.
  3. Now score 13 — say 5 + 5 + 3 (win two races, 2nd in the third). The best any single rival can still collect is 2nd in your two wins and 1st in the remaining race: 3 + 3 + 5 = 11. That's strictly less than 13, every time.
  4. So the smallest guaranteed-winning total is 13.
  5. Why this transfers: "guarantee" problems are worst-case problems — you optimize against an adversary playing their best, not against an average. Pair that with a parity filter (totals here must be odd) to skip half the candidates instantly.
CHAPTER 5

Probability — favorable over total

THEORY

Spin a spinner split into 4 equal wedges, one of them red. What is the chance of red? You did not reach for a formula — you said “1 out of 4” because one wedge out of four is red. That is the whole idea of probability, and you already own it.

Write it down: count the outcomes you want, count all the outcomes, divide. A probability question is really two counting questions wearing a disguise — which means every tool from the last four chapters works here too.

Probability of an event = favorable outcomes / total outcomes, when all outcomes are equally likely.

PROBABILITY FORMULA

P(event) = |favorable| ÷ |total|

So a probability question is really TWO counting questions: how many ways the event happens, and how many total ways anything can happen.

Watch it work — two-dice sum

Roll two dice. What’s the probability the sum is 7? Total outcomes: 6 × 6 = 36 (one for each (A, B) pair). Favorable: count the cells in the grid where the sum is 7.

Rolling two dice — the 36 possible sumsA ↓ / B →Die B (1–6)Die A (1–6)1234561234562345673456784567895678910678910117891011126 cells highlighted (sum = 7)P(sum=7) = 6/36 = 1/6

Six cells light up — one for each pair (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). So P(sum=7) = 6/36 = 1/6.

The grid is the WHOLE probability story for two dice. EVERY two-dice question (P(sum=5)? P(sum≥9)? P(both even)?) is answered by counting cells.

Four rules to KNOW COLD

RuleWhen to useExample
P(certain) = 1, P(impossible) = 0Sanity bounds — all probabilities live in [0, 1].P(die ≤ 6) = 1; P(die = 7) = 0
P(NOT A) = 1 − P(A)If counting “not” is easier than counting “is.”P(not 6 on a die) = 1 − 1/6 = 5/6
P(A OR B) = P(A) + P(B)  (mutually exclusive)Events can’t both happen at once.P(die = 1 or die = 2) = 1/6 + 1/6 = 2/6
P(A AND B) = P(A) · P(B)  (independent)Events don’t affect each other.P(coin heads AND die = 6) = ½ · 1/6 = 1/12

Symmetry — count one side, the other matches

Two players each roll a die. What’s the probability the first roll is larger than the second? Your instinct is to march through all 36 cells and tally where first > second. Resist it.

Look at the two sides. “First larger” and “second larger” are mirror images — swap the two dice and one turns into the other. Nothing makes the first die special, so those two events must have the exact same probability. Symmetry hands you that for free.

So split the 36 outcomes into three buckets:

  • tie (first = second): the 6 cells down the diagonal.
  • first larger: some count.
  • second larger: the SAME count, by symmetry.

The two “larger” buckets share what’s left after the ties: 36 − 6 = 30 cells, split evenly. So each is 30 ÷ 2 = 15. P(first larger) = 15/36 = 5/12. No cell-by-cell tally.

SYMMETRY SHORTCUT

If two outcomes are mirror images (swap the players, swap heads↔tails), they’re equally likely. Peel off the “tie” (the part that is its own mirror), then split the rest in half.

This is the same idea behind “count it once and multiply”: when a shape has matching halves — the 5 petals of a flower under rotation, the two ends of a necklace — you count one piece and use the symmetry instead of listing every case.

THE MOVE: a probability question is two counts — favorable on top, total on the bottom. Count both, then divide.

🎯 Try it
Two standard dice are rolled. P(sum = 7) = (favorable)/36. How many cells of the grid are favorable (sum equals 7)?
Walkthrough: List the pairs that add to 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). That is 6 cells. So P(sum = 7) = 6/36 = 1/6. The favorable count is the answer here: 6.
THE TRICK

The phrase “each outcome is equally likely” is doing the heavy lifting. It means the probability formula works as a count ratio. If outcomes have different likelihoods, you'd need a weighted sum instead — but at this level, problems are almost always equally-likely.

For “or” problems: if events overlap, you need inclusion-exclusion (chapter 7). If they don't overlap, add the probabilities.

WATCH OUT
Bogus solution

Roll two dice. The sum can be any of 2, 3, 4, …, 12 — that is 11 possible sums. A 7 is one of those 11, so P(sum = 7) = 1/11.

Why it breaks: the favorable-over-total rule only works when the outcomes you are counting are equally likely — and those 11 sums are not. A sum of 2 happens only one way (1+1), but a sum of 7 happens six ways (1+6, 2+5, 3+4, 4+3, 5+2, 6+1). Lumping unequal sums into “11 outcomes” treats a rare sum and a common sum as if they were the same size.

The fix: count at the level where every outcome is equally likely — the 36 ordered dice pairs in the grid. Six of them give 7, so P(sum = 7) = 6/36 = 1/6, not 1/11. Before you divide favorable by total, check that every outcome you are counting is equally likely.

Framing inspired by AoPS Prealgebra.

WORKED EXAMPLE
PROBLEM · 1999 #10

A complete cycle of a traffic light takes 60 seconds. During each cycle the light is green for 25 seconds, yellow for 5 seconds, and red for 30 seconds. At a randomly chosen time, what is the probability that the light will NOT be green?

A) 14 B) 13 C) 512 D) 12 E) 712

A traffic light has a 60-second cycle: 25 sec green, 5 sec yellow, 30 sec red. At a random moment, what's the probability the light is NOT green?

This is geometric probability: favorable time / total time.

  • Total: 60 seconds (one full cycle).
  • Favorable (not green): yellow + red = 5 + 30 = 35 seconds.

So P(not green) = 35/60 = 7/12.

'Not green' bundles two colors. Add their times, divide by the cycle length. No casework, no transitions to worry about.

Answer: E — 7/12.
RULE OF THUMB

Probability = favorable / total. Count both. For independent events, multiply. For mutually exclusive events, add. “Not A” has probability 1 − P(A).

MORE LIKE THIS
2013 · #8 A fair coin is tossed 3 times. What is the probability of at least two consecutive heads?

A fair coin is tossed 3 times. What is the probability of at least two consecutive heads?

Show answer
Answer: C — 3/8.
Show hints
Hint 1 of 2
Only 8 outcomes exist for 3 flips — small enough to just list them all and circle the winners. "Consecutive" means the two heads must be neighbors (positions 1-2 or 2-3), not scattered.
Still stuck? Show hint 2 →
Hint 2 of 2
When the sample space is tiny (23 = 8), full enumeration beats any clever formula. Probability = (favorable outcomes) ÷ (total outcomes).
Show solution
Approach: enumerate all 8 equally-likely outcomes
  1. All 8 outcomes: HHH, HHT, HTH, HTT, THH, THT, TTH, TTT. Each is equally likely, so we just count favorables.
  2. "At least two consecutive heads" needs HH side by side: HHH, HHT, THH — that's 3. (HTH fails: its heads aren't neighbors.)
  3. Probability = 3 ÷ 8 = 3/8.
  4. Watch the trap: HTH has two heads but they're not consecutive, so it doesn't count — reading "consecutive" carefully is the whole problem.
Another way — complement — subtract the 'no HH' outcomes:
  1. Sometimes it's easier to count the unwanted outcomes. Strings of 3 flips with no two heads adjacent: TTT, TTH, THT, HTT, HTH — 5 of them.
  2. So favorable = 8 − 5 = 3, giving probability 3/8 = 3/8. (When 'at least' makes direct counting fiddly, count the opposite.)
2004 · #21 Spinners A and B are spun. On each spinner, the arrow is equally likely to land on each number. What is the probability that the product...

Spinners A and B are spun. On each spinner, the arrow is equally likely to land on each number. What is the probability that the product of the two spinners' numbers is even?

Figure for AMC 8 2004 Problem 21
Show answer
Answer: D — 2/3.
Show hints
Hint 1 of 2
'Even product' can happen lots of ways (this even, that even, both even) — messy to count. But the opposite is razor-simple: a product is odd only when both spinners are odd. Count that one easy case and subtract.
Still stuck? Show hint 2 →
Hint 2 of 2
The technique is complementary counting: P(even) = 1 − P(odd), and a product is odd exactly when every factor is odd. Whenever 'at least one even' shows up, flip to 'all odd'.
Show solution
Approach: complement (1 minus all-odd)
  1. Spinner A shows 1, 2, 4, 3 — odds are {1, 3}, so P(A odd) = 2/4 = 1/2. Spinner B shows 1, 2, 3 — odds are {1, 3}, so P(B odd) = 2/3.
  2. Product is odd only if both are odd: P(odd) = (1/2)(2/3) = 1/3.
  3. Therefore P(even) = 1 − 1/3 = 2/3.
  4. Why the complement wins: the direct count needs three even-cases, but 'both odd' is a single product — one multiplication instead of several additions. Odd × odd = odd is the only way to dodge an even factor.
Another way — count favorable outcomes directly:
  1. There are 4 × 3 = 12 equally likely (A, B) outcomes.
  2. Odd products come only from A ∈ {1,3} and B ∈ {1,3}: that's 2 × 2 = 4 odd outcomes, so 12 − 4 = 8 even outcomes.
  3. P(even) = 8/12 = 2/3.
2017 · #10 A box contains five cards, numbered 1, 2, 3, 4, and 5. Three cards are selected randomly without replacement from the box. What is the...

A box contains five cards, numbered 1, 2, 3, 4, and 5. Three cards are selected randomly without replacement from the box. What is the probability that 4 is the largest value selected?

Show answer
Answer: C — 3/10.
Show hints
Hint 1 of 2
"4 is the largest" is a quiet double condition: 4 must be in the draw, and 5 must be out. The other two cards are then forced to come from {1, 2, 3}.
Still stuck? Show hint 2 →
Hint 2 of 2
Translate 'largest is X' into 'include X, exclude everything bigger.' Then just count how to fill the remaining slots from what's left below X.
Show solution
Approach: include the max, fill the rest from below it
  1. Decode the condition: for 4 to be the biggest card drawn, you must take the 4 and avoid the 5. So the other two cards are chosen from {1, 2, 3}. That reframing is the insight.
  2. Favorable draws: choose 2 of {1, 2, 3} = C(3, 2) = 3 ways (namely {1,2,4}, {1,3,4}, {2,3,4}).
  3. All draws: C(5, 3) = 10. Probability = 3/10 = 3/10.
  4. Why this transfers: 'the max equals X' problems always split into 'X is in, everything above X is out' — the rest is a small count among the cards below X.
Another way — list the favorable subsets:
  1. With only 5 cards, just write the 3-card sets whose max is 4: {1,2,4}, {1,3,4}, {2,3,4} — exactly 3 of them.
  2. Out of C(5,3) = 10 equally likely draws, that's 3/10.
1992 · #23 If two dice are tossed, the probability that the product of the numbers showing on the tops of the dice is greater than 10 is

If two dice are tossed, the probability that the product of the numbers showing on the tops of the dice is greater than 10 is

Show answer
Answer: B — 17/36.
Show hints
Hint 1 of 3
Two dice give 6 × 6 = 36 equally likely outcomes (treat the dice as different colors so order counts). The whole job is counting how many of those 36 have a product over 10.
Still stuck? Show hint 2 →
Hint 2 of 3
Organize the count so you don't miss any: fix the FIRST die's value, then ask which second-die values push the product past 10. March through 1, 2, 3, 4, 5, 6 one row at a time.
Still stuck? Show hint 3 →
Hint 3 of 3
Low first values barely qualify (a 1 never works, a 2 needs a 6), so the winners pile up at the high end — count carefully there.
Show solution
Approach: fix the first die, count qualifying partners, then divide by 36
  1. There are 36 equally likely ordered outcomes. Go die-by-die and count partners giving product > 10: first die 1 → none; 2 → only 6 (gives 12), 1 way; 3 → 4, 5, 6, that's 3; 4 → 3, 4, 5, 6, that's 4; 5 → 3, 4, 5, 6, that's 4; 6 → 2, 3, 4, 5, 6, that's 5.
  2. Total winners: 1 + 3 + 4 + 4 + 5 = 17. So the probability is 17/36.
  3. Why count this way: sweeping through one die's values in order is a checklist that guarantees no outcome is double-counted or skipped — the safest method for ‘how many of the 36’ dice questions.
  4. Watch the boundary: ‘greater than 10’ excludes a product of exactly 10 (like 2×5 or 5×2), so those don't count — a classic trap.
2000 · #21 Keiko tosses one penny and Ephraim tosses two pennies. The probability that Ephraim gets the same number of heads that Keiko gets is

Keiko tosses one penny and Ephraim tosses two pennies. The probability that Ephraim gets the same number of heads that Keiko gets is

Show answer
Answer: B — 3/8.
Show hints
Hint 1 of 2
Keiko has only one coin, so she can only get 0 or 1 head — that means there are just TWO ways to 'match,' and you only ever have to consider those two head-counts.
Still stuck? Show hint 2 →
Hint 2 of 2
Independent people ⇒ multiply their probabilities within each matching case, then ADD across the cases. So total = P(both 0) + P(both 1).
Show solution
Approach: split into the only two matchable head-counts
  1. Keiko's single coin: 1 head or 0 heads, each probability ½. Ephraim's two coins: 0 heads (TT) with probability ¼, 1 head (HT or TH) with probability ½, 2 heads (HH) with probability ¼. His '2 heads' can never match Keiko, so ignore it.
  2. Match at 1 head: ½ · ½ = ¼. Match at 0 heads: ½ · ¼ = ⅛.
  3. These cases are exclusive, so add: ¼ + ⅛ = .
  4. The principle: 'same outcome for two players' = sum over each shared value of P(A gets it)·P(B gets it). Limiting to the value the *smaller* experiment can produce keeps the casework tiny.
Another way — count equally-likely outcomes directly:
  1. Keiko has 2 equally likely results (H, T); Ephraim has 4 (HH, HT, TH, TT). Together that's 2 × 4 = 8 equally likely combined outcomes.
  2. Matching ones: Keiko H pairs with Ephraim's 1-head results HT, TH (2 ways); Keiko T pairs with Ephraim's TT (1 way). That's 3 favorable out of 8.
  3. Probability = 3/8 = .
CHAPTER 6

Independent vs. dependent — with or without replacement

THEORY

A bag has 5 red and 3 blue marbles. You pull two. After the first marble leaves your hand, here is the only question that matters: did the bag change? If you put the marble back, the bag is good as new and the second pull is a fresh 5-in-8. If you keep it, the bag shrank — now maybe 4 red in 7. That one difference is what makes a probability problem “independent” or “dependent.”

Two events are INDEPENDENT if the outcome of one doesn’t change the probability of the other:

  • Flipping a coin twice — the first flip doesn’t affect the second.
  • Rolling a die twice.
  • Drawing a card and putting it back before drawing again.

Two events are DEPENDENT when one outcome affects the next:

  • Drawing two cards WITHOUT replacement — the deck shrinks.
  • Picking marbles without putting them back.

See the difference

5 red + 3 blue marbles in a bag — pick TWO. What’s P(both red)?WITH replacement (independent)put the first marble BACK before drawing againDraw 15 red / 8 totalP = 5/8(replace)Draw 2STILL 5 red / 8 totalP = 5/8P(both red) = 5/8 × 5/8= 25/64 ≈ 39%Each draw is independent — bag never changes.WITHOUT replacement (dependent)do NOT put the first marble backDraw 15 red / 8 totalP = 5/8(red marble eaten)Draw 2only 4 red / 7 totalP = 4/7P(both red) = 5/8 × 4/7= 20/56 = 5/14 ≈ 36%The bag shrinks — second draw has fewer reds.
Watch the second draw. WITH replacement: still 5/8. WITHOUT: drops to 4/7. The drop is what makes the events dependent — and what changes the probability.

FORMULAS

KindP(A and B)Why
IndependentP(A) × P(B)B’s probability doesn’t change based on A.
DependentP(A) × P(B | A)Compute B’s probability AFTER removing A’s outcome from the pool.

The trap signal: read the words

PhraseMeans
“with replacement”Independent — pool unchanged
“without replacement”Dependent — pool shrinks
“then draws a second” (no put-back mentioned)Usually dependent — assume the marble stays out
“draws TWO at once”Same as without replacement (the second can’t be the same marble)

THE MOVE: after the first pick, ask “did the pool change?” If yes, shrink the counts before the next step.

🎯 Try it
A bag holds 5 red and 3 blue marbles. You draw two without replacement. P(both red) = a/56 in lowest terms before simplifying — what is the numerator when you write it as (reds left to choose)? Compute 5 × 4.
Walkthrough: First red: 5 of 8. The bag now has 4 red of 7. So P(both red) = (5/8) × (4/7) = 20/56 = 5/14. The numerator 5 × 4 = 20 shows the shrink in action — the second factor dropped from 5 to 4 and from 8 to 7. With replacement it would have stayed (5/8) × (5/8) = 25/64 instead.

Exactly 2 heads — count the patterns, don’t list them

Flip a fair coin 3 times. What is the probability of exactly 2 heads? You could write out all 8 outcomes and tally. For 3 flips that is fine. For 10 flips it is a nightmare. There is a cleaner move that scales.

Step 1 — nail down ONE pattern. Take the specific sequence H H T. Each flip is independent, so multiply: ½ · ½ · ½ = 1/8. Any single 3-flip sequence has the same 1/8 chance — the coin does not care about order.

Step 2 — count how many patterns fit. “Exactly 2 heads” means choosing which 2 of the 3 flips are heads. Here you can just list them: HHT, HTH, THH — 3 patterns. (Chapter 8 names this “choose 2 of 3” count C(3, 2) and gives a formula for when the list gets long; for 3 flips the list is quickest.)

Step 3 — multiply. Each of the 3 patterns has chance 1/8, and they are mutually exclusive, so add them — which is the same as multiplying: 3 · 1/8 = 3/8.

COUNT-THE-PATTERNS

For “exactly k of n independent tries succeed,” find the chance of one specific success/fail sequence, then multiply by how many sequences have k successes — the “choose k of n” count C(n, k) you will meet in chapter 8.

This is why the casework never explodes: you price one arrangement, then let that “choose k of n” count handle the rest. With a fair coin every sequence is 1/2^n, so it collapses to C(n, k) / 2^n — and chapter 10 will show those counts are exactly Pascal’s triangle.

THE MOVE: price one pattern, then multiply by how many patterns there are.

🎯 Try it
Flip a fair coin 4 times. How many of the 16 outcomes have exactly 2 heads? (Choose which 2 of the 4 flips are heads.)
Walkthrough: Pick which 2 of the 4 flips are heads: C(4, 2) = (4 × 3)/2 = 6 patterns (HHTT, HTHT, HTTH, THHT, THTH, TTHH). So P(exactly 2 heads) = 6/16 = 3/8. Pricing one pattern (1/16) and multiplying by 6 gives the same thing.

Framing inspired by Competition Math for Middle School (AoPS) — price one arrangement, then multiply by the number of arrangements.

THE TRICK

Read the problem carefully: “with replacement” means independent draws (probability stays the same each time). “without replacement” means the pool shrinks for the second draw.

For events that AND together (both happen), multiply probabilities. For events that OR together but can't both happen, add. For events that can both happen, use inclusion-exclusion (chapter 7).

WORKED EXAMPLE
PROBLEM · 2013 #14

Abe holds 1 green and 1 red jelly bean in his hand. Bob holds 1 green, 1 yellow, and 2 red jelly beans in his hand. Each randomly picks a jelly bean to show the other. What is the probability that the colors match?

A) 14 B) 13 C) 38 D) 12 E) 23

Abe holds 1 green and 1 red. Bob holds 1 green, 1 yellow, and 2 red. Both randomly pick one bean from their own hand and show. What's the probability both show the same color?

Abe's beans: 2 total (G, R), so P(Abe G) = 1/2, P(Abe R) = 1/2.

Bob's beans: 4 total (G, Y, R, R), so P(Bob G) = 1/4, P(Bob R) = 2/4 = 1/2, P(Bob Y) = 1/4.

Abe doesn't have yellow, so they can match only on G or R.

P(both G) = P(Abe G) × P(Bob G) = (1/2)(1/4) = 1/8.

P(both R) = P(Abe R) × P(Bob R) = (1/2)(1/2) = 1/4 = 2/8.

P(match) = 1/8 + 2/8 = 3/8.

The two draws are independent (Abe and Bob have their own hands). Multiply within each color, then add across colors (since the colors are mutually exclusive — only one can match at a time).

Answer: C — 3/8.
RULE OF THUMB

With replacement: the draws ARE independent — multiply P(A) · P(B) directly. Without replacement: the second draw is conditional on the first — use P(A) · P(B | A), i.e. shrink the pool after removing A's outcome. Use × for AND, + for mutually-exclusive OR.

MORE LIKE THIS
2017 · #10 A box contains five cards, numbered 1, 2, 3, 4, and 5. Three cards are selected randomly without replacement from the box. What is the...

A box contains five cards, numbered 1, 2, 3, 4, and 5. Three cards are selected randomly without replacement from the box. What is the probability that 4 is the largest value selected?

Show answer
Answer: C — 3/10.
Show hints
Hint 1 of 2
"4 is the largest" is a quiet double condition: 4 must be in the draw, and 5 must be out. The other two cards are then forced to come from {1, 2, 3}.
Still stuck? Show hint 2 →
Hint 2 of 2
Translate 'largest is X' into 'include X, exclude everything bigger.' Then just count how to fill the remaining slots from what's left below X.
Show solution
Approach: include the max, fill the rest from below it
  1. Decode the condition: for 4 to be the biggest card drawn, you must take the 4 and avoid the 5. So the other two cards are chosen from {1, 2, 3}. That reframing is the insight.
  2. Favorable draws: choose 2 of {1, 2, 3} = C(3, 2) = 3 ways (namely {1,2,4}, {1,3,4}, {2,3,4}).
  3. All draws: C(5, 3) = 10. Probability = 3/10 = 3/10.
  4. Why this transfers: 'the max equals X' problems always split into 'X is in, everything above X is out' — the rest is a small count among the cards below X.
Another way — list the favorable subsets:
  1. With only 5 cards, just write the 3-card sets whose max is 4: {1,2,4}, {1,3,4}, {2,3,4} — exactly 3 of them.
  2. Out of C(5,3) = 10 equally likely draws, that's 3/10.
2016 · #21 A top hat contains 3 red chips and 2 green chips. Chips are drawn randomly, one at a time without replacement, until all 3 of the reds...

A top hat contains 3 red chips and 2 green chips. Chips are drawn randomly, one at a time without replacement, until all 3 of the reds are drawn or until both green chips are drawn. What is the probability that the 3 reds are drawn?

Show answer
Answer: B — 2/5.
Show hints
Hint 1 of 3
The real reframe: pretend you keep drawing until ALL 5 chips are out, ignoring the stop. Whoever's color finishes "first" (gets its full set out earliest) is decided entirely by the VERY LAST chip — because the last chip is the one color that didn't finish first.
Still stuck? Show hint 2 →
Hint 2 of 3
So "the 3 reds come out before both greens" is the same event as "the last chip in the full random order is green." Now you just need the chance a random one of the 5 positions — the last — is green.
Still stuck? Show hint 3 →
Hint 3 of 3
Each of the 5 chips is equally likely to be the last one drawn, so the probability the last is green is simply (number of greens) / (total chips).
Show solution
Approach: reframe as 'which color is last in a full shuffle'
  1. Imagine shuffling all 5 chips and revealing them one by one (ignore the early stop — it doesn't change the order). The reds are all out before the greens are all out exactly when the LAST chip revealed is green.
  2. Why: if the last chip is green, then both greens were NOT out before that point, so the reds must have completed first; if the last chip is red, the greens finished first.
  3. Every chip is equally likely to occupy the last position, so P(last is green) = 2 greens / 5 chips = 2/5.
  4. Why this transfers: "which group finishes drawing first" usually hinges only on the single LAST element of a full random order — a powerful shortcut that dodges casework entirely.
Another way — direct: reds win means the 5th-position chip is green:
  1. List which chip sits in the final (5th) position of a random arrangement: it's R, R, R, G, or G — 5 equally likely outcomes, 2 of them green.
  2. The reds-first event is exactly those 2 green-last outcomes, giving 2/5 = 2/5. (You can also enumerate all arrangements and count, landing on the same 2/5.)
2002 · #21 Harold tosses a nickel four times. The probability that he gets at least as many heads as tails is

Harold tosses a nickel four times. The probability that he gets at least as many heads as tails is

Show answer
Answer: E — 11/16.
Show hints
Hint 1 of 2
A coin has no preference for heads over tails, so "heads ≥ tails" must be exactly as likely as "tails ≥ heads." Those two cases together cover *everything* — but they double-count something.
Still stuck? Show hint 2 →
Hint 2 of 2
The only outcome that fits both is a 2–2 tie. So the two equal halves overlap precisely on the tie: 2·(what you want) = 1 + P(tie). Find the tie, and you're done.
Show solution
Approach: use heads–tails symmetry
  1. Heads and tails are interchangeable, so P(heads ≥ tails) = P(tails ≥ heads). Together these events cover all outcomes, overlapping only on the 2–2 tie.
  2. By inclusion-exclusion, P(H≥T) + P(T≥H) = 1 + P(tie), i.e. 2·P(H≥T) = 1 + P(tie). The tie has C(4,2) = 6 of the 16 equally likely outcomes, so P(tie) = 6/16 = 3/8.
  3. Then P(heads ≥ tails) = (1 + 3/8) ÷ 2 = 11/16.
  4. *Why this transfers:* when two symmetric events together fill the whole sample space, you don't count both — you write 2·P = 1 + P(overlap) and only the small overlap needs counting.
Another way — just count the winning outcomes:
  1. "At least as many heads as tails" over 4 flips means 2, 3, or 4 heads.
  2. Ways: C(4,2) + C(4,3) + C(4,4) = 6 + 4 + 1 = 11, out of 2⁴ = 16 outcomes.
  3. Probability = 11/16.
2000 · #21 Keiko tosses one penny and Ephraim tosses two pennies. The probability that Ephraim gets the same number of heads that Keiko gets is

Keiko tosses one penny and Ephraim tosses two pennies. The probability that Ephraim gets the same number of heads that Keiko gets is

Show answer
Answer: B — 3/8.
Show hints
Hint 1 of 2
Keiko has only one coin, so she can only get 0 or 1 head — that means there are just TWO ways to 'match,' and you only ever have to consider those two head-counts.
Still stuck? Show hint 2 →
Hint 2 of 2
Independent people ⇒ multiply their probabilities within each matching case, then ADD across the cases. So total = P(both 0) + P(both 1).
Show solution
Approach: split into the only two matchable head-counts
  1. Keiko's single coin: 1 head or 0 heads, each probability ½. Ephraim's two coins: 0 heads (TT) with probability ¼, 1 head (HT or TH) with probability ½, 2 heads (HH) with probability ¼. His '2 heads' can never match Keiko, so ignore it.
  2. Match at 1 head: ½ · ½ = ¼. Match at 0 heads: ½ · ¼ = ⅛.
  3. These cases are exclusive, so add: ¼ + ⅛ = .
  4. The principle: 'same outcome for two players' = sum over each shared value of P(A gets it)·P(B gets it). Limiting to the value the *smaller* experiment can produce keeps the casework tiny.
Another way — count equally-likely outcomes directly:
  1. Keiko has 2 equally likely results (H, T); Ephraim has 4 (HH, HT, TH, TT). Together that's 2 × 4 = 8 equally likely combined outcomes.
  2. Matching ones: Keiko H pairs with Ephraim's 1-head results HT, TH (2 ways); Keiko T pairs with Ephraim's TT (1 way). That's 3 favorable out of 8.
  3. Probability = 3/8 = .
1986 · #24 The 600 students at King Middle School are divided into three groups of equal size for lunch. Each group has lunch at a different time....

The 600 students at King Middle School are divided into three groups of equal size for lunch. Each group has lunch at a different time. A computer randomly assigns each student to one of three lunch groups. The probability that three friends, Al, Bob, and Carol, will be assigned to the same lunch group is approximately

Show answer
Answer: B — 1⁄9.
Show hints
Hint 1 of 3
Don't worry about *which* of the three groups they all end up in — just let Al go wherever he goes and treat his group as 'the target.' Now the only question is whether the other two follow him there.
Still stuck? Show hint 2 →
Hint 2 of 3
Each remaining friend independently lands in Al's group with chance about 1⁄3. The word 'same group' means *both* of them must match Al, so combine the two chances.
Still stuck? Show hint 3 →
Hint 3 of 3
Independent 'and' events multiply their probabilities.
Show solution
Approach: anchor on Al, then require the others to match
  1. Anchor the problem on Al: wherever he lands becomes 'the target group,' which costs no probability — he's somewhere for sure. This sidesteps having to sum over all three groups.
  2. Now Bob must land in Al's group (chance ≈ 1⁄3, since the three groups are equal size and the 600 students make it essentially even) and Carol must too (another ≈ 1⁄3), independently.
  3. 'Bob matches AND Carol matches' multiplies: 1⁄3 × 1⁄3 = 1⁄9.
  4. Why anchoring helps: fixing one object as the reference removes a layer of casework — you no longer care which group, only that the rest agree with it. (The '600 students, equal groups' detail is what makes each chance a clean 1⁄3.)
Another way — count equally likely group-triples:
  1. List the group each friend gets as a triple; there are 3 × 3 × 3 = 27 equally likely assignments. 'All same' happens in 3 of them (all-group-1, all-group-2, all-group-3), so the probability is 3⁄27 = 1⁄9.
1987 · #25 Ten balls numbered 1 to 10 are in a jar. Jack reaches into the jar and randomly removes one of the balls. Then Jill reaches into the jar...

Ten balls numbered 1 to 10 are in a jar. Jack reaches into the jar and randomly removes one of the balls. Then Jill reaches into the jar and randomly removes a different ball. The probability that the sum of the two numbers on the balls removed is even is

Show answer
Answer: A — 4⁄9.
Show hints
Hint 1 of 2
A sum is even only when the two numbers match in parity (odd+odd or even+even). What's the count of each kind among 1–10?
Still stuck? Show hint 2 →
Hint 2 of 2
There are 5 odd and 5 even balls. After Jack takes one, only 9 balls remain — so Jill's draw is out of 9, not 10.
Show solution
Approach: match Jack's parity (fix the first draw)
  1. The sum is even exactly when both balls share parity. Whatever Jack pulls, his ball has 4 same-parity partners left (e.g. if he takes an odd, 4 odds remain) out of the 9 balls Jill can choose from.
  2. So the probability Jill matches is 4⁄9 — and that's the whole answer: 4⁄9.
  3. Why this transfers: when only the relationship between two draws matters, fix the first draw as 'done' and ask the chance the second one cooperates. No need to enumerate Jack's case at all.
Another way — add the two same-parity cases:
  1. P(both odd) = (5⁄10)(4⁄9) = 2⁄9 and P(both even) = (5⁄10)(4⁄9) = 2⁄9.
  2. Total = 2⁄9 + 2⁄9 = 4⁄9, matching the fixed-draw view.
★ MINI-QUIZ

Casework, probability, independent events

Three problems that combine casework and probability rules.

2020 · #6 Bia has the five coins shown. She goes to the grocery store to buy one fruit, paying with exactly three of the coins and receiving no...

Bia has the five coins shown. She goes to the grocery store to buy one fruit, paying with exactly three of the coins and receiving no change. Among the fruit prices below, which one can she NOT pay for?

Figure for Math Kangaroo 2020 Problem 6
Show answer
Answer: C — 1.40
Show hints
Hint 1 of 2
The coins are 1.00, 0.50, 0.25, 0.10 and 0.05; she uses exactly three of them with no change.
Still stuck? Show hint 2 →
Hint 2 of 2
Check each price: one of the listed totals simply has no three-coin combination.
Show solution
Approach: test each price against all three-coin sums
  1. The five coins are R$1.00, 0.50, 0.25, 0.10 and 0.05.
  2. 1.30 = 1.00+0.25+0.05, 1.35 = 1.00+0.25+0.10, 1.55 = 1.00+0.50+0.05, 1.75 = 1.00+0.50+0.25 - all work.
  3. For 1.40 no choice of three coins adds up (1.00 leaves 0.40 from two coins, impossible; without the 1.00 two coins fall far short).
  4. So she cannot buy the fruit costing 1.40.
2013 · #14 Abe holds 1 green and 1 red jelly bean in his hand. Bob holds 1 green, 1 yellow, and 2 red jelly beans in his hand. Each randomly picks...

Abe holds 1 green and 1 red jelly bean in his hand. Bob holds 1 green, 1 yellow, and 2 red jelly beans in his hand. Each randomly picks a jelly bean to show the other. What is the probability that the colors match?

Show answer
Answer: C — 3/8.
Show hints
Hint 1 of 2
A "match" can only happen on a color both people own. Yellow is Bob-only, so it can never match — the only matchable colors are green and red. Handle those two cases separately.
Still stuck? Show hint 2 →
Hint 2 of 2
Two independent picks: within a case multiply (AND), across the separate cases add (OR). First filter to colors both hands share.
Show solution
Approach: split into the only two matchable colors
  1. Only green and red exist in both hands (Bob's yellow can never match), so a match is "both green" OR "both red."
  2. Both green = P(Abe green) × P(Bob green) = (1/2)(1/4) = 1/8 — multiply because both must happen.
  3. Both red = P(Abe red) × P(Bob red) = (1/2)(2/4) = 1/4.
  4. Add the mutually exclusive cases: 1/8 + 1/4 = 1/8 + 2/8 = 3/8.
  5. Sanity check via counting: 2 × 4 = 8 equally-likely pairs; matches are GG (1 way) and RR (1 × 2 = 2 ways) = 3, so 3/8. Same answer.
2004 · #21 Spinners A and B are spun. On each spinner, the arrow is equally likely to land on each number. What is the probability that the product...

Spinners A and B are spun. On each spinner, the arrow is equally likely to land on each number. What is the probability that the product of the two spinners' numbers is even?

Figure for AMC 8 2004 Problem 21
Show answer
Answer: D — 2/3.
Show hints
Hint 1 of 2
'Even product' can happen lots of ways (this even, that even, both even) — messy to count. But the opposite is razor-simple: a product is odd only when both spinners are odd. Count that one easy case and subtract.
Still stuck? Show hint 2 →
Hint 2 of 2
The technique is complementary counting: P(even) = 1 − P(odd), and a product is odd exactly when every factor is odd. Whenever 'at least one even' shows up, flip to 'all odd'.
Show solution
Approach: complement (1 minus all-odd)
  1. Spinner A shows 1, 2, 4, 3 — odds are {1, 3}, so P(A odd) = 2/4 = 1/2. Spinner B shows 1, 2, 3 — odds are {1, 3}, so P(B odd) = 2/3.
  2. Product is odd only if both are odd: P(odd) = (1/2)(2/3) = 1/3.
  3. Therefore P(even) = 1 − 1/3 = 2/3.
  4. Why the complement wins: the direct count needs three even-cases, but 'both odd' is a single product — one multiplication instead of several additions. Odd × odd = odd is the only way to dodge an even factor.
Another way — count favorable outcomes directly:
  1. There are 4 × 3 = 12 equally likely (A, B) outcomes.
  2. Odd products come only from A ∈ {1,3} and B ∈ {1,3}: that's 2 × 2 = 4 odd outcomes, so 12 − 4 = 8 even outcomes.
  3. P(even) = 8/12 = 2/3.
CHAPTER 7

Inclusion-exclusion — overlap correction

THEORY

A room of 20 people: 15 drink coffee, 12 drink tea. Add those and you get 27 — more drinkers than there are people. Nobody cloned themselves. The 7 extra are the people who drink both, counted once in the coffee 15 and a second time in the tea 12. Add two overlapping groups and you always count the shared part twice.

So when two events can both happen, |A or B| is not |A| + |B| — that double-counts the overlap. Subtract the overlap once and the count comes back down to earth.

INCLUSION-EXCLUSION (two sets)

|A ∪ B| = |A| + |B| − |A ∩ B|

Picture it as a Venn diagram. Two overlapping circles. When you write |A| (the whole left circle), you've counted the overlap once. When you write |B| (the whole right circle), you've counted the overlap a second time. So |A| + |B| over-counts the overlap. Subtracting |A ∩ B| once fixes it.

A onlyB onlybothAB

Three sets. The pattern continues: add singletons, subtract overlaps, add the triple overlap back.

|A ∪ B ∪ C| = |A| + |B| + |C| − |A∩B| − |A∩C| − |B∩C| + |A∩B∩C|

Where this shows up on contests:

  • “X students play soccer, Y play basketball, Z play both — how many play at least one?” → |A| + |B| − |both|.
  • “Numbers divisible by 2 or 3 in a range” → |mult of 2| + |mult of 3| − |mult of 6|.
  • “Three overlapping shapes — how much total area?” → inclusion-exclusion on the shapes.

When no number fits one region — let the overlap BE the answer

Sometimes none of the given numbers belongs to a single region of the Venn diagram, so you cannot just write them in. The fix is a beautiful one: name the overlap with a letter — usually the very thing the problem asks for — write every region in terms of it, set the regions equal to the grand total, and solve.

Try it with a small zoo. A keeper has 27 animals: 14 are spotted, 11 are babies, and 5 are plain-coloured adults (not spotted, not babies). How many spotted babies are there? Nothing fits a single region yet, so let x = the spotted babies (the overlap, and the answer we want). Then the spotted-but-not-baby region is 14 − x, the baby-but-not-spotted region is 11 − x, and the 5 plain adults sit outside both circles.

SpottedBabies14 − xx11 − xplain adults outside both: 5

Now add every region and set the sum to the total of 27:

(14 − x) + x + (11 − x) + 5 = 27

That collapses to 30 − x = 27, so x = 3. There are 3 spotted babies. (Check: spotted = 11 + 3 = 14 ✓, babies = 3 + 8 = 11 ✓, all four regions 11 + 3 + 8 + 5 = 27 ✓.)

Two habits make this reliable. Start from a region you actually know — often the middle overlap — and only reach for a variable when nothing fits. And if you feel stuck, look for the piece of given information you have not used yet; here it was the grand total of 27 that closed the equation.

VARIABLE-IN-THE-OVERLAP

Let x = the region you want (usually the overlap). Write each region in terms of x. Add all regions = grand total. Solve for x.

A real contest caseajhsme-1991-23: a band has 100 female and 80 male members; an orchestra has 80 female and 100 male; 60 females are in both; 230 students are in band or orchestra (or both). How many males are in band but not orchestra? First peel the genders apart. Distinct females = 100 + 80 − 60 = 120, so distinct males = 230 − 120 = 110. Now run the overlap-variable on the males: let x = males in both ensembles. Band-only males = 80 − x, orchestra-only males = 100 − x, and these three regions are all 110 males: (80 − x) + x + (100 − x) = 110, so 180 − x = 110 and x = 70. Band males who are not in orchestra = 80 − 70 = 10 — choice (A).

THE MOVE: add the groups, then subtract the overlap once — because adding both groups counted it twice.

🎯 Try it
In a class of 30, 18 play soccer and 17 play basketball. Every student plays at least one of the two. How many play both?
Walkthrough: Everyone plays at least one, so |soccer or basketball| = 30. Inclusion-exclusion: 30 = 18 + 17 − |both|. So |both| = 35 − 30 = 5. (Sanity check: 18 + 17 = 35 is more than 30 students — the extra 5 is exactly the double-counted overlap.)
🎯 Try it
A shelf holds 20 toys: 13 are wooden, 9 are red, and 2 are plastic toys that are not red. How many toys are wooden and red? (Let x be the wooden-and-red overlap, write each region in terms of x, and set the total to 20.)
Walkthrough: Let x = wooden-and-red. Wooden-only = 13 − x, red-only = 9 − x, and 2 sit outside both. Add: (13 − x) + x + (9 − x) + 2 = 20, so 24 − x = 20 and x = 4. (Check: wooden 9 + 4 = 13 ✓, red 4 + 5 = 9 ✓, all regions 9 + 4 + 5 + 2 = 20 ✓.)
THE TRICK

For “A OR B” problems where both can happen: |A ∪ B| = |A| + |B| − |both|. The “both” piece is what you'd otherwise double-count.

Often the problem gives you everything except the overlap, and asks for it. Then rearrange: |both| = |A| + |B| − |A ∪ B|.

WATCH OUT
Bogus solution

In a class of 30, 18 play soccer and 17 play basketball. How many play at least one sport? Add the two groups: 18 + 17 = 35 students.

Why it breaks: 35 is bigger than the whole class of 30 — an instant red flag. Adding both groups counts every student who plays both sports twice, once in each total. You blindly added without asking what you were adding.

The fix: subtract the overlap once. The double-counted amount is exactly 35 − 30 = 5 students who play both, so “at least one” is 18 + 17 − 5 = 30 — the whole class, which checks out. When two groups can overlap, |A or B| = |A| + |B| − |both|; if your total exceeds the whole, you forgot to subtract.

Framing inspired by AoPS Prealgebra.

WORKED EXAMPLE
PROBLEM · 2008 #11

Each of the 39 students in the eighth grade at Lincoln Middle School has one dog or one cat or both a dog and a cat. Twenty students have a dog and 26 students have a cat. How many students have both a dog and a cat?

A) 7 B) 13 C) 19 D) 39 E) 46

39 students. Every one owns a dog or cat (or both). 20 own dogs; 26 own cats. How many own both?

Let A = dog owners, B = cat owners. We know:

  • |A ∪ B| = 39 (every student owns at least one)
  • |A| = 20
  • |B| = 26

Apply inclusion-exclusion: 39 = 20 + 26 − |A ∩ B|.

So |A ∩ B| = 46 − 39 = 7 students own both.

This is the classic IE setup. “Every X is in A or B” tells you |A ∪ B|. You're given |A| and |B|. Then |both| falls out of the formula directly.

Answer: A — 7.
RULE OF THUMB

For overlapping conditions: |A ∪ B| = |A| + |B| − |A ∩ B|. Rearrange to solve for whichever quantity is missing.

MORE LIKE THIS
1999 · #9 (figure problem)
Figure for AMC 8 1999 Problem 9
Show answer
Answer: C — 1150 plants.
Show hints
Hint 1 of 2
If you just add 500 + 450 + 350, every plant in an overlap gets counted in two beds — so the sum is too big. By how much?
Still stuck? Show hint 2 →
Hint 2 of 2
A plant shared by two beds is counted twice but should count once, so it's an extra +1. Subtract each overlap once to undo the double-count.
Show solution
Approach: inclusion–exclusion: add all, subtract the double-counted overlaps once
  1. Add the beds: 500 + 450 + 350 = 1300. But a plant in two beds was tallied in both, so each overlap plant is counted one time too many.
  2. There are 50 + 100 = 150 such doubly-counted plants (and none in all three). Remove the extra copy: 1300 − 150 = 1150 plants.
  3. This is inclusion–exclusion, and you'll meet it everywhere: |A ∪ B ∪ C| = (sum of parts) − (pairwise overlaps) + (triple overlap). Here the triple overlap is 0, so you only subtract the pairs.
2011 · #6 In a town of 351 adults, every adult owns a car, motorcycle, or both. If 331 adults own cars and 45 adults own motorcycles, how many of...

In a town of 351 adults, every adult owns a car, motorcycle, or both. If 331 adults own cars and 45 adults own motorcycles, how many of the car owners do not own a motorcycle?

Show answer
Answer: D — 306.
Show hints
Hint 1 of 2
Flip the question: instead of "car owners without a motorcycle," ask "who has no motorcycle at all?" Since everyone owns at least one vehicle, anyone without a motorcycle must own a car — so those two groups are the same people.
Still stuck? Show hint 2 →
Hint 2 of 2
The 331 car-owners is a decoy here — complementary counting (total minus the unwanted group) sidesteps it entirely.
Show solution
Approach: complementary counting — car-only = everyone who lacks a motorcycle
  1. Every adult owns at least one vehicle, so an adult without a motorcycle owns a car and nothing else — exactly the "car but no motorcycle" group we want.
  2. Count the non-motorcycle owners: 351 − 45 = 306.
  3. Why this transfers: when every item is in "A or B or both," the "A only" group is just everyone minus the B group — counting the complement beats wrestling with the overlap.
Another way — inclusion-exclusion as a check:
  1. Both = cars + motorcycles − total = 331 + 45 − 351 = 25 own both.
  2. Car owners without a motorcycle = 331 − 25 = 306, matching above.
1991 · #23 The Pythagoras High School band has 100 female and 80 male members. The orchestra has 80 female and 100 male members. There are 60...

The Pythagoras High School band has 100 female and 80 male members. The orchestra has 80 female and 100 male members. There are 60 females who are in both band and orchestra. Altogether there are 230 students who are in either band or orchestra or both. The number of males in the band who are NOT in the orchestra is

Show answer
Answer: A — 10.
Show hints
Hint 1 of 3
This looks tangled because males and females are mixed together. Untangle it: the 230 total splits cleanly into distinct females + distinct males. The females are fully solvable on their own (you know the band females, orchestra females, AND the overlap), so peel them off first.
Still stuck? Show hint 2 →
Hint 2 of 3
Find distinct females with overlap subtracted (band F + orchestra F − both F). Subtract from 230 to get distinct males. Then run the SAME overlap formula on the males to find how many are in both — and finally remove those from the band males.
Still stuck? Show hint 3 →
Hint 3 of 3
Once you know males-in-both, the answer is just band males minus that overlap (the ones left are in band only).
Show solution
Approach: handle females first, then inclusion-exclusion on the males
  1. Separate by gender. Distinct females (counting the 60 overlap only once): 100 + 80 − 60 = 120.
  2. The 230 total is females + males, so distinct males = 230 − 120 = 110.
  3. Now inclusion-exclusion on the males to find the overlap: (band males) + (orchestra males) − (distinct males) = 80 + 100 − 110 = 70 males are in both.
  4. Males in band but NOT orchestra = all band males minus those also in orchestra = 80 − 70 = 10.
  5. Why this transfers: when a population mixes two categories, split it into independent sub-populations you can fully solve, then apply "in A or B = A + B − both" to each. The overlap formula run backwards (solving for "both" from the union) is the key move here.
CHAPTER 8

Permutations and combinations — the two big formulas

THEORY

Three runners cross the finish line. Now answer two different questions. “In how many orders can they finish?” — gold, silver, bronze all matter, so that is 6. “In how many ways can I pick 2 of them to interview?” — interviewing Ana then Ben is the same pair as Ben then Ana, so order does not matter, and that is only 3. Same three people, two different counts. The entire chapter rests on one question you ask every single time: does order matter?

If order matters, you are arranging — a permutation. If it does not, you are choosing — a combination. Here are the two formulas, but the question above is what tells you which to grab.

Permutations — watch the slots shrink

Ten sprinters race. You want gold, silver, bronze. Draw three empty slots and fill them left to right, asking the same question each time: who is still available?

Fill 3 medals from 5 runners — the pool shrinks each slotGOLD5anyone×SILVER4gold is gone×BRONZE3two are gone5 × 4 × 3 = 60 waysP(5, 3): start at 5, drop by one for each slot you fill.

That is all a permutation is — the multiplication principle with a pool that shrinks by one each step. P(n, k) means “start at n and multiply k shrinking factors”: P(5,3) = 5 · 4 · 3. Filling all the slots is the full factorial: P(5,5) = 5! = 120.

Combinations — the same picks, with order erased

Now interview 3 of 5 runners afterward — here order does not matter. Start from the 60 ordered picks you counted a moment ago, then group together the ones that are secretly the same trio. Take the three runners A, B, C. As an ordered pick they show up 3! = 6 different ways, but they are one and the same group:

The 6 ordered picks of A, B, C — all the SAME group {A, B, C}A B CA C BB A CB C AC A BC B A6 orderings = 3! ways to shuffle three peoplecollapse to one group:{A, B, C}6 → 1

Every group of 3 got counted 3! = 6 times in the ordered list. So to count groups, divide the ordered count by that overcount:

C(5, 3) = P(5, 3) ÷ 3! = 60 ÷ 6 = 10

A combination is a permutation with the order divided out. C(n, k) = P(n, k) ÷ k! — count the ordered picks, then squash the k! shuffles of each group into one.

Pictured-intuition adapted from Competition Math for Middle School (AoPS).

PERMUTATIONS vs COMBINATIONS

  • Permutations (order MATTERS): how many ways to arrange k items chosen from n. Notation: P(n, k) or nP_k. Formula: n! / (n−k)! = n · (n−1) · … · (n−k+1).
  • Combinations (order DOESN'T MATTER): how many ways to choose k items from n. Notation: C(n, k) or nC_k or (n choose k). Formula: n! / (k! · (n−k)!) = P(n, k) / k!.

Factorial. n! (“n factorial”) = n × (n−1) × (n−2) × … × 2 × 1. So 5! = 120, 6! = 720, 7! = 5040. (Also 0! = 1 by convention.)

How to choose between permutations and combinations. Ask: does the order matter?

  • “How many ways to seat 5 people in a row of 5 chairs?” Order matters → permutation. Answer: 5! = 120.
  • “How many ways to choose 3 of 10 people for a team?” Order doesn't matter (Alice-Bob-Carol is the same team as Bob-Alice-Carol) → combination. Answer: C(10, 3) = 120.
  • “How many ways to rank 3 winners (gold, silver, bronze) from 10 contestants?” Order matters (gold is different from silver) → permutation. Answer: P(10, 3) = 10·9·8 = 720.

The most-used combination. C(n, 2) = n(n−1)/2 is the number of pairs you can choose from n items — i.e., the number of handshakes among n people. For 5 people: 5·4/2 = 10 handshakes. For 10 people: 10·9/2 = 45. For 20 people: 20·19/2 = 190.

Why handshakes are n(n−1)/2 — see the double-count

Five friends, everyone shakes everyone once. Picture each person and draw a line to each of the others.

Everyone shakes everyoneABCDE10 lines — one per pairEach person shakes theother 4 — that looks like5 × 4 = 20but A→B and B→A are thesame handshake — counted twice.20 ÷ 2 = 10So C(5, 2) = 5·4/2 = 10.

Each of the 5 people reaches out to 4 others — that is 5 × 4 = 20 reaches. But a handshake takes two people, and you counted it from both ends. Divide by 2: 20 ÷ 2 = 10. That is exactly C(5, 2) — choosing an unordered pair.

The same count is a stack of dots called a triangular number. The first person shakes 4 hands, the next adds 3 new ones, then 2, then 1: 4 + 3 + 2 + 1 = 10. Stacking those rows makes a triangle, and the count for n people is always 1 + 2 + … + (n−1) = n(n−1)/2. Handshakes, lines between dots, and games in a round-robin are all the same picture.

Pictured-intuition adapted from Competition Math for Middle School (AoPS).

Why 1 + 2 + … + n = n(n+1)/2 — the Gauss fold

The handshake count was 1 + 2 + … + (n−1) — a stack of rows. There is a one-move proof of the sum that a seven-year-old Gauss is said to have found. Write the sum forwards, write it again backwards underneath, and add the two columns:

S =S =123nnn−1n−212S =(n+1)(n+1)(n+1)(n+1)n copies of (n+1), so 2S = n(n+1) and S = n(n+1)/2

Every column adds to the same n + 1, and there are n columns, so 2S = n(n+1) and

1 + 2 + … + n = n(n+1)/2.

So 1 + 2 + … + 100 = 100 × 101 / 2 = 5050 — no adding 100 numbers. And this is the twin of the handshake formula: n people make 1 + 2 + … + (n−1) = n(n−1)/2 handshakes (the same fold, one row shorter). Round-robin games, lines between dots, and the triangular numbers are all this one sum.

Diagonals of a polygon — and shaking all but a few hands

How many diagonals does a polygon with n sides have? A diagonal joins two corners that are not already next-door (those are edges, not diagonals). From any one corner you can reach the other n − 1 corners, but 2 of those are its neighbours — joined by edges — so only n − 3 of the reaches are diagonals. That is n × (n − 3) reaches over all corners, and each diagonal got counted from both of its ends, so halve it.

pentagon: 5 diagonals

POLYGON DIAGONALS

n(n − 3) / 2

(n − 3 diagonals per corner, n corners, ÷ 2 for the double-count.)

Check a pentagon: 5 × 2 / 2 = 5 diagonals. A hexagon: 6 × 3 / 2 = 9.

Shaking all but a few hands. The same “count everything, then take away the missing ones” move solves a classic. At a party of 7 married couples, everyone shakes hands once with everyone except their own spouse. How many handshakes? Pretend for a moment that everyone shakes everyone — that is 14 people, C(14, 2) = 14 × 13 / 2 = 91 handshakes. Now remove the ones that never happen: the 7 spouse-handshakes. So 91 − 7 = 84. Count the full thing, subtract the forbidden few — far easier than building the allowed handshakes one by one.

🎯 Try it
How many diagonals does an octagon (8 sides) have? (Use n(n − 3)/2.)
Walkthrough: From each of the 8 corners you can draw to 8 − 3 = 5 non-neighbour corners. That is 8 × 5 = 40 reaches, each diagonal counted from both ends, so 40 ÷ 2 = 20. Formula: 8 × 5 / 2 = 20.

Framing inspired by AoPS Prealgebra.

Three more facts worth knowing by sight

1. SUBSETS — 2n

A set with n elements has 2n subsets (counting the empty set and the whole set).

Why? For each of the n elements, decide independently: in or out. That’s 2 choices, multiplied n times. A set of 3 items {A, B, C} has 23 = 8 subsets: {}, {A}, {B}, {C}, {A,B}, {A,C}, {B,C}, {A,B,C}.

So “how many subsets” questions never need a formula — it is 2 to the power of the count.

2. CIRCULAR ARRANGEMENTS — (n − 1)!

To seat n distinct people around a round table, where rotations of the same arrangement count as the same:

(n − 1)!

Why fewer than a row? Look at the same five friends arranged the same way, once in a row and once around a table:

In a ROW (chairs 1–5)Achair 1Bchair 2Cchair 3Dchair 4Echair 5Every shuffle of A…E is a DIFFERENT row.5! = 120 arrangementsRound a TABLEABCDEsame neighbors when rotated4! = 24 arrangements

In a row, each of the 5! = 120 shuffles is a brand-new arrangement — the chair you sit in matters. Around a table, only your neighbors matter. Rotating everyone one seat clockwise gives the “same” seating — you still see B on your left and E on your right. There are 5 rotations of every arrangement, so we divide: 120 ÷ 5 = 24.

Equivalent shortcut: fix one person in place (say A always at the top). Then arrange the other 4 in the remaining seats: 4! = 24. Same answer.

Example. 5 people round a table: 4! = 24. 6 people: 5! = 120. 8 people: 7! = 5040.

3. ARRANGING LETTERS WITH REPEATS — n! / (d₁! · d₂! · …)

To arrange n letters where one letter appears d₁ times, another d₂ times, etc.:

n! / (d₁! · d₂! · …)

Let’s see why. Take a smaller word: BOOK (4 letters, but the two O’s are identical).

Step 1 — pretend the two O’s are DIFFERENT (call them O₁ and O₂)BO₁O₂KBO₂O₁KBKO₁O₂BKO₂O₁O₁BO₂KO₂BO₁K… 24 totalO₁BKO₂O₂BKO₁O₁O₂BKO₂O₁BKO₁O₂KBO₂O₁KB4! = 24 arrangements when the O’s are distinguishable.Step 2 — erase the subscripts. Each pair collapses to ONE arrangement.BO₁O₂K + BO₂O₁KBOOKBKO₁O₂ + BKO₂O₁BKOOEvery real arrangement got counted TWICE (once per O ordering).So: 24 ÷ 2 = 12 real arrangements.
That’s why we divide by 2! — the number of ways the two identical O’s could be ordered. For 4 identical letters, divide by 4!. For 3, divide by 3!.

The MISSISSIPPI example

MISSISSIPPI has 11 letters: 1 M, 4 I’s, 4 S’s, 2 P’s.

StepWhat we countNumber
1Arrangements pretending all 11 letters are distinct11! = 39,916,800
2÷ 4! for the 4 identical I’s÷ 24
3÷ 4! for the 4 identical S’s÷ 24
4÷ 2! for the 2 identical P’s÷ 2
=real arrangements34,650

For LEVEL (two E’s, two L’s): 5! / (2! · 2!) = 30. For LOOK (two O’s): 4! / 2! = 12. Same recipe every time.

Count the losers, not the games

A knockout chess tournament has 100 players. Lose once and you’re out. The last player standing is champion. How many games get played?

Your instinct is to add up the rounds: 50 games cut the field to 50, then 25, then … and now you’re stuck, because 50 isn’t even and the byes get fiddly. Resist that.

Look at it from the loser’s side instead. Every game has exactly one loser, and every loser is knocked out forever. At the end, 99 players have been knocked out (everyone except the champion). So exactly 99 losers happened — which means exactly 99 games. Done. No rounds, no byes, no powers of 2.

ONE LOSS, ONE GAME

In a knockout where each game eliminates one player, the number of games to crown a champion from n players is always n − 1 — one game per player eliminated.

This works because you matched up two things one-to-one: each game ↔ the single player it eliminates. That kind of one-to-one match is the cleanest counting move there is. When a count looks tangled, ask: is there a thing I can pair each item with that’s easier to count?

(Careful: this is not the handshake count. Handshakes pair players with each other — that’s C(n, 2). Here you pair each game with its one loser — that’s n − 1. Read whether games happen between every pair, or only between survivors.)

Count the same total two ways — the handshake rule

Here is the slickest counting move of all: find one number that two different counts must both equal, and let them pin each other down. The classic is handshakes. Picture the party as dots with a line for each handshake; a person’s “handshake count” is how many lines touch their dot.

One handshake = one line = +1 to TWO peopleABCD4 lines; counts A,B,C,D = 2,2,2,2; sum = 8 = 2 × 4Add up everyone’shandshake counts.Each line is touched atboth ends, so it adds 2.sum of counts = 2 × (lines)so that sum is always even

Add up everyone’s handshake count into one grand total. Each single handshake is a line with two ends, so it adds 1 to each of two people — it lands in the total exactly twice. So the same total has two readings: it is the sum of the counts, and it is also 2 × (number of handshakes). They must match.

HANDSHAKE RULE (COUNT TWO WAYS)

Sum of everyone’s handshake counts = 2 × (number of handshakes). So that sum is always even.

One crisp payoff: the number of people who shook an odd number of hands is always even. Split the crowd into “even-counters” and “odd-counters.” The even-counters add to an even number; the whole total is even; so the odd-counters must add to an even number too — and a pile of odd numbers totals even only when there is an even number of them. That is why you can never have exactly 3 people who each shook an odd number of hands.

This is the same engine as the handshake formula and “count the losers”: instead of counting the thing asked, count a total that something else also measures, and read it from the easy side.

🎯 Try it
At a meeting, 18 handshakes happened in all. If you add up how many hands each person shook, what total do you get? (Each handshake adds 1 to two people.)
Walkthrough: Every handshake is counted from both ends, so the sum of everyone’s counts is 2 × (handshakes) = 2 × 18 = 36. (Notice you did not need to know how many people were there — only the number of handshakes.)

Strategy framing inspired by Posamentier, The Art of Problem Solving (teacher resource).

THE MOVE: ask “does order matter?” Order matters → permutation. Order does not → combination.

🎯 Try it
Five friends are at a party and every pair shakes hands once. How many handshakes happen? (A handshake is a pair — order does not matter.)
Walkthrough: A handshake is an unordered pair, so this is C(5, 2) = (5 × 4) / 2 = 10. (Why divide by 2? Each pair would be counted twice — “Ana shakes Ben” and “Ben shakes Ana” are one handshake. The handshake formula C(n, 2) = n(n−1)/2 is worth knowing on sight.)

(Knockout-tournament idea adapted from Problem Solving via the AMC, Australian Maths Trust.)

THE TRICK

For “how many handshakes if n people each shake every other person's hand once”: always n(n−1)/2. Memorize this. It appears constantly.

For “how many lines through n distinct dots, no three collinear”: same answer, C(n, 2) = n(n−1)/2 (each pair of dots determines one line; the no-three-collinear hypothesis guarantees they are all distinct). For “how many distinct triangles”: C(n, 3) (and no-three-collinear ensures every triple gives a real triangle).

WATCH OUT
Bogus solution

At a party there are 5 women and 4 men — 9 people. No two men shake hands, but every woman shakes hands with every other person. Each woman shakes 8 hands, and there are 5 women, so that is 8 × 5 = 40 — but each handshake got counted twice, so divide by 2: 40 ÷ 2 = 20 handshakes.

Why it breaks: “divide by 2” only fixes a count where every handshake was counted twice. A woman-to-woman shake is counted twice (once for each woman). But a woman-to-man shake is counted only once — the man never reports it, since men do not initiate. Halving the whole 40 wrongly halves those man-woman shakes too.

The fix: split the two kinds. Woman-to-woman: C(5, 2) = 10 (that is 5·4 = 20 double-counted, so halve). Woman-to-man: each of the 5 women shakes all 4 men once — 5 × 4 = 20, and these are not double-counted, so do not halve. Total = 10 + 20 = 30. Before you divide by 2, make sure you really did count every item twice.

Framing inspired by AoPS Prealgebra.

WORKED EXAMPLE
PROBLEM · 2004 #4

Ms. Hamilton's eighth-grade class wants to participate in the annual three-person-team basketball tournament. Lance, Sally, Joy, and Fred are chosen for the team. In how many ways can the three starters be chosen?

A) 2 B) 4 C) 6 D) 8 E) 10

Lance, Sally, Joy, and Fred are on the team. The coach picks 3 starters. In how many ways?

First test: does order matter? A trio of starters is a trio — “Lance, Sally, Joy” is the same starting three as “Joy, Sally, Lance.” Order does not matter, so this is a combination: C(4, 3).

You could grind the formula: C(4, 3) = 4! / (3! · 1!) = 4. But take the lightest path — count the one left out. Choosing 3 of 4 to play is the same as choosing the 1 who sits. There are 4 people, so 4 ways to pick the bench-warmer, so 4 starting trios — choice (B).

Two ideas land here. First, “starters” is an unordered group, so combination not permutation. Second, the symmetry C(n, k) = C(n, n−k): choosing almost-all of a group is the same as choosing the tiny part you leave out — count whichever side is smaller.

Answer: B — 4.
RULE OF THUMB

Order matters → permutations P(n,k). Order doesn't matter → combinations C(n,k). When in doubt, ask whether “Alice then Bob” is the same as “Bob then Alice.” For pairs: C(n,2) = n(n−1)/2.

MORE LIKE THIS
2023 · #5 Anna has five discs of different sizes. She wants to use 4 of them to build a tower, always placing a smaller disc on top of a bigger...

Anna has five discs of different sizes. She wants to use 4 of them to build a tower, always placing a smaller disc on top of a bigger one. In how many ways can Anna build the tower?

Figure for Math Kangaroo 2023 Problem 5
Show answer
Answer: B — 5
Show hints
Hint 1 of 2
Once you pick which four discs to use, the order is forced: biggest at the bottom up to smallest.
Still stuck? Show hint 2 →
Hint 2 of 2
So really you are just counting how many ways there are to leave out one disc.
Show solution
Approach: each tower is just a choice of which disc to leave out
  1. A valid tower must go from largest at the bottom to smallest at the top, so a set of four discs can be stacked in only one way.
  2. Building a tower therefore means choosing which 4 of the 5 discs to use, i.e. which single disc to leave out.
  3. There are 5 discs, so there are 5 ways to leave one out.
  4. The number of towers is B, 5.
2015 · #4 The Centerville Middle School chess team consists of two boys and three girls. A photographer wants to take a picture of the team to...

The Centerville Middle School chess team consists of two boys and three girls. A photographer wants to take a picture of the team to appear in the local newspaper. She decides to have them sit in a row with a boy at each end and the three girls in the middle. How many such arrangements are possible?

Show answer
Answer: E — 12 arrangements.
Show hints
Hint 1 of 2
The seating breaks into two separate jobs that don't interfere: arrange the boys at the two ends, and arrange the girls in the three middle seats. Solve each job alone.
Still stuck? Show hint 2 →
Hint 2 of 2
When choices are independent, total = (ways for job 1) × (ways for job 2). Arranging k people in k seats has k! ways. (This is the multiplication / rule-of-product principle.)
Show solution
Approach: split into two independent jobs and multiply
  1. The ends are boys-only and the middle is girls-only, so the two choices never collide — handle them separately.
  2. Boys in the 2 end seats: 2! = 2 ways. Girls in the 3 middle seats: 3! = 6 ways.
  3. By the rule of product, total = 2 × 6 = 12.
  4. Why this transfers: any time a setup divides into independent stages, multiply the counts. The only trap is making sure the stages really don't affect each other — here they can't, since boys and girls occupy disjoint seats.
2004 · #2 How many different four-digit numbers can be formed by rearranging the four digits in 2004?

How many different four-digit numbers can be formed by rearranging the four digits in 2004?

Show answer
Answer: B — 6.
Show hints
Hint 1 of 2
There are really only two 'interesting' digits here — the 2 and the 4. The two zeros are interchangeable, and a number can't start with 0. What position can each non-zero digit take?
Still stuck? Show hint 2 →
Hint 2 of 2
Whenever a digit repeats, ordinary 4! over-counts; and a 'no leading zero' rule trims more. Naming both traps — identical-item over-count and the leading-zero restriction — is the whole skill.
Show solution
Approach: place the non-zero digits first
  1. The slick view: a valid number is fixed once you decide where the 2 and 4 sit, because the leftover slots must be the two zeros. The thousands place must be 2 or 4 (no leading 0) — 2 choices — and the other non-zero digit then has 3 open slots — 3 choices. That's 2 × 3 = 6.
  2. Why this beats brute force: you never list anything; the two zeros take care of themselves once the 'real' digits are placed.
  3. You'll meet this again any time a number has repeated digits and a 'first digit can't be 0' rule — place the restricted/distinct items first, let the duplicates fall into the gaps.
Another way — count all, then subtract leading zeros:
  1. All arrangements of {2, 0, 0, 4}: 4!/2! = 12 (divide by 2! because the two 0s are identical).
  2. Bad ones put a 0 in front: the remaining three slots hold {2, 0, 4}, giving 3! = 6 arrangements.
  3. Valid = 12 − 6 = 6.
Another way — just list them:
  1. Smallest first: 2004, 2040, 2400, 4002, 4020, 4200.
  2. That's exactly 6 — a fine check when the count is this small.
2006 · #20 A singles tournament had six players. Each player played every other player only once, with no ties. If Helen won 4 games, Ines won 3...

A singles tournament had six players. Each player played every other player only once, with no ties. If Helen won 4 games, Ines won 3 games, Janet won 2 games, Kendra won 2 games and Lara won 2 games, how many games did Monica (the sixth player) win?

Show answer
Answer: C — 2 games.
Show hints
Hint 1 of 2
Don't try to reconstruct who beat whom — you can't and you don't need to. Instead notice that every single game produces exactly ONE win, so total wins is a fixed, knowable number.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the total number of games (each pair plays once), which equals total wins. Monica's wins are just that total minus everyone else's.
Show solution
Approach: every game makes exactly one win
  1. With 6 players each meeting every other once, the number of games is "choose 2 of 6" = (6 × 5)/2 = 15. Since there are no ties, that's exactly 15 wins handed out.
  2. The five named players account for 4 + 3 + 2 + 2 + 2 = 13 wins.
  3. Monica gets the rest: 15 − 13 = 2.
  4. You'll reuse this: in any round-robin with no ties, (total wins) = (total games) = "choose 2" of the players. The wins are conserved, so a single missing count is always "total minus the known." No game-by-game detective work needed.
2019 · #28 Teams of three take part in a chess tournament. Each player plays against every player from every other team exactly once. For...

Teams of three take part in a chess tournament. Each player plays against every player from every other team exactly once. For organisational reasons no more than 250 games may be played. What is the greatest number of three-player teams that can take part?

Show answer
Answer: E — 7
Show hints
Hint 1 of 2
Each game is between two players on different teams; count games as pairs of teams times players.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the largest team count keeping games at most 250.
Show solution
Approach: count cross-team games and bound by 250
  1. With n teams of 3, each pair of teams plays 3 × 3 = 9 games, so total games = 9 × n(n−1)/2.
  2. For n = 7 that is 9 × 21 = 189 (allowed); for n = 8 it is 9 × 28 = 252 (too many).
  3. So at most 7 teams can take part.
2014 · #12 A magazine printed photos of three celebrities along with three photos of the celebrities as babies. The baby pictures did not identify...

A magazine printed photos of three celebrities along with three photos of the celebrities as babies. The baby pictures did not identify the celebrities. Readers were asked to match each celebrity with the correct baby pictures. What is the probability that a reader guessing at random will match all three correctly?

Show answer
Answer: B — 1/6.
Show hints
Hint 1 of 2
There's exactly one correct matching, so the probability is just 1 ÷ (number of possible matchings). The whole problem is counting the orderings.
Still stuck? Show hint 2 →
Hint 2 of 2
Three baby photos can be lined up against the three celebrities in 3! ways.
Show solution
Approach: one favorable outcome over all equally likely orderings
  1. Order the 3 baby photos against the celebrities: 3! = 6 equally likely ways.
  2. Exactly 1 of those 6 is the all-correct matching, so probability = 1/6 = 1/6.
  3. Reusable idea: when every arrangement is equally likely and only one wins, P(win) = 1/(total arrangements). The hard part is always the count, never the division.
Another way — match one celebrity at a time:
  1. First celebrity: 1 of 3 baby photos is right ⇒ chance 1/3.
  2. Given that, the second celebrity: 1 of the 2 remaining is right ⇒ chance 1/2 (and the third is then forced).
  3. Multiply: (1/3)(1/2) = 1/6.
CHAPTER 9

Lattice paths — counting paths on a grid

THEORY

You are at the bottom-left of a city grid and your friend is up and to the right. You only ever walk right or up — no backtracking. How many different routes can you take? You could try to draw them all, but there is a sneaky shortcut: every route is a sequence of moves, and you only have to decide the order of the rights and ups.

A lattice path is exactly this — a path on a grid using only fixed directions. The classic contest question: how many paths from one corner to another going only RIGHT or UP?

Paths from (0,0) to (3,2) using only R (right) and U (up)STARTENDRRRUU (all right, then up)RURUR (zigzag)UURRR (all up, then right)3 of the 10 possible paths shown.Counting trickEvery path = 5 moves: 3 R’s and 2 U’s in SOME order.Choose which 2 of the 5 positions are U.C(5, 2) = 10 paths

The clean observation

To get from (0,0) to (m, n), you ALWAYS need exactly m right-moves and n up-moves. The path is m+n moves total — you’re only choosing the ORDER.

LATTICE-PATHS FORMULA

Paths from (0, 0) to (m, n) using only right and up:

C(m + n, m)  =  C(m + n, n)

(Same thing — choose which positions are R, or which positions are U.)

Why combinations, not permutations?

The 3 R-moves are interchangeable — they all do the same thing. The 2 U-moves are also interchangeable. So we’re choosing POSITIONS for the R’s among 5 slots, not arranging 5 distinct items.

Path-through-a-point

“Paths from A to B that pass through P” — split into two legs.

LegFromToPaths
1AP(some count)
2PB(some count)
Multiply the two counts (multiplication principle)total

Path AVOIDING a forbidden cell

Use complementary counting: (all paths) − (paths through forbidden cell). The second piece is itself a path-through-a-point count.

When the map isn’t a clean grid — label every corner

The C(m+n, m) formula only works on a perfect rectangle of streets. Real maps have a closed road, a one-way diagonal, a missing block. Then the formula breaks. There’s a method that never breaks.

Write a number at every corner: how many ways you can reach that corner from the start. The rule is dead simple — a corner’s number is the sum of the corners that feed into it (the one directly left, plus the one directly below, if you only move right and up). Start gets a 1. Then fill in, corner by corner, working away from the start.

Right/up only — one road is CLOSEDCLOSED1START11111231213679END

Read the bottom row and left column: only one way to reach each (you can only walk straight, so each is 1). For every other corner, add the number on its left to the number below it. The corner immediately right of the closed road has nothing feeding it from the left — so it only gets its 1 from below, instead of the larger number it would have inherited. Keep adding left + below across the whole map. The END corner reads 9: nine safe routes.

On a fully open grid this same map would give C(4 + 2, 2) = 15 routes — but the closed road knocks it down to 9, and the labeling found that without any formula at all. A blocked road stops feeding its neighbor, and the count downstream drops on its own.

This is exactly how Pascal’s triangle is built — each number is the sum of the two above it. Lattice-path counts ARE Pascal’s triangle, tilted.

THE MOVE: a right/up path is a sequence of moves — count it as C(total moves, number of rights). On a broken map, label every corner and add.

🎯 Try it
How many right/up paths go from (0, 0) to (3, 2)? (You need 3 rights and 2 ups, in some order — choose which 2 of the 5 moves are ups.)
Walkthrough: Every path is 5 moves: 3 R’s and 2 U’s. Pick which 2 of the 5 slots are U: C(5, 2) = (5 × 4)/2 = 10. (Equivalently C(5, 3) for the R’s — same 10. Choosing the U-slots or the R-slots gives the same answer.)

(Add-into-each-vertex route-counting adapted from Problem Solving via the AMC, Australian Maths Trust.)

THE TRICK

For right-or-up only paths from (0,0) to (m,n): always C(m+n, m) = C(m+n, n). Don't try to draw all the paths.

For “paths through point P”: split at P. Multiply the path counts for each leg.

WORKED EXAMPLE
PROBLEM · 2018 #7

In a game of luck, a ball rolls downwards towards hammered nails and is diverted either to the right or the left by the nail immediately below it. One possible path is shown in the diagram. How many different ways are there for the ball to reach the second compartment from the left?

Figure for Math Kangaroo 2018 Problem 7
A) 2 B) 3 C) 4 D) 5 E) 6

A ball drops through a board of nails. At each nail it goes left or right, and after passing the rows it lands in one of 5 compartments. How many different paths land it in the second compartment from the left? (The figure shows the board and one sample path.)

This is a lattice path in disguise: every drop is a string of left/right choices, exactly like right/up moves on a grid. So use the vertex-labeling method — write at each nail how many ways the ball can reach it, adding the ways from the two nails feeding into it above.

  • The single top nail starts with 1.
  • Row by row, each nail’s number is the sum of the one or two nails directly above it — pure Pascal’s triangle.
  • After 4 rows of nails, the bottom compartments read 1, 4, 6, 4, 1 (the 4th row of Pascal’s triangle).

The second compartment from the left reads 4 — choice (C). Four paths, found by adding, not by tracing every zigzag.

The board is a tilted grid: left/right is the same as up/right. Once you see that, the answer is a single entry of Pascal’s triangle — row 4 is 1, 4, 6, 4, 1, and you read off the second slot. The vertex-add method gets there with no formula and no path-tracing.

Answer: C — 4
RULE OF THUMB

Right/up paths from (0,0) to (m,n): C(m+n, m). For paths through P: split at P, multiply the two leg counts. For paths avoiding a forbidden cell F: (total) − (paths through F).

MORE LIKE THIS
2016 · #10 During a cycle race starting at D and finishing at B, every connecting road between the towns A, B, C and D shown in the diagram is...

During a cycle race starting at D and finishing at B, every connecting road between the towns A, B, C and D shown in the diagram is ridden along exactly once. How many possible routes are there for the race?

Figure for Math Kangaroo 2016 Problem 10
Show answer
Answer: C — 6
Show hints
Hint 1 of 2
A valid race rides every drawn road exactly once, starting at D and ending at B (an Euler trail).
Still stuck? Show hint 2 →
Hint 2 of 2
List the routes by the first road taken out of D, then trace each to the end at B.
Show solution
Approach: count Euler trails from D to B
  1. The five roads are A-B, A-D, B-D, B-C and D-C; the race must use each exactly once, leaving D and arriving at B.
  2. Organise by the first move from D: starting D-A leads to 2 finishing routes, starting D-B leads to 2, and starting D-C leads to 2.
  3. That makes 2 + 2 + 2 = 6 possible routes.
1986 · #9 (figure problem)
Figure for AJHSME 1986 Problem 9
Show answer
Answer: E — 6.
Show hints
Hint 1 of 3
Tracing every full route by hand invites missed ones and double-counts. Notice something cleaner: the number of ways to reach a point is just the total of the ways to reach the points whose arrows feed into it.
Still stuck? Show hint 2 →
Hint 2 of 3
So label each point with a count, working outward from M (which counts as 1 way — you're already there), adding up the incoming arrows' counts as you go.
Still stuck? Show hint 3 →
Hint 3 of 3
Follow the arrows in order so every point you add up is already finished. Any point an arrow leaves *to* gets that count poured into it.
Show solution
Approach: label each point with its number of routes (build up from M)
  1. The key idea: the number of routes into a point equals the sum of the routes into the points that arrow toward it. So you never trace a whole path — you just accumulate. Start: M = 1 (there's one way to 'be at the start').
  2. Top region: B is fed only by M, so B = 1. A is fed by M and by B, so A = 1 + 1 = 2.
  3. Bottom: D is fed only by A, so D = 2. C is fed by A, B, and D, so C = 2 + 1 + 2 = 5.
  4. Finally N is fed by B and C: N = 1 + 5 = 6 routes.
  5. Why this transfers: this 'add up the incoming counts' trick is exactly how you count lattice paths (and how Pascal's triangle is built) — it turns an explosion of routes into a handful of additions.
CHAPTER 10

Pascal's triangle — the number machine behind combinations

THEORY

You have met C(n, k), lattice paths, and “exactly k heads” in different chapters. They are secretly the same numbers. There is one picture that holds all of them — a triangle of numbers you can build with nothing but addition.

Build it: each number is the sum of the two above

Start with a single 1 at the top. Every row starts and ends with 1. Every other number is the sum of the two numbers sitting above it — one to the upper-left, one to the upper-right. That is the whole rule. No formula, only adding.

111121133114641151010511 + 1 = 23 + 3 = 6 (the row below)row 0row 2row 4

The number you build is exactly C(n, k): go to row n, count k steps in from the left (starting at 0). Row 4 reads 1, 4, 6, 4, 1 — and sure enough C(4,0)=1, C(4,1)=4, C(4,2)=6, C(4,3)=4, C(4,4)=1. So “6 ways to pick 2 of 4” is the middle of row 4.

Why each is the sum of the two above

Look at C(4, 2) — choosing 2 things from {A, B, C, D}. Stare at one item, say D. Either D is in your pick or it is not.

  • D is in: you still need 1 more from {A, B, C} — that is C(3, 1) = 3 ways.
  • D is out: you need all 2 from {A, B, C} — that is C(3, 2) = 3 ways.

Add the two cases: 3 + 3 = 6 = C(4, 2). Those two pieces, C(3,1) and C(3,2), are exactly the two numbers in the row above. That is why you add the two above — it is the “is this one item in or out?” split, drawn as a triangle.

Each row adds up to a power of 2

Add across any row: 1, then 1+1=2, then 1+2+1=4, then 1+3+3+1=8, then 16, then 32… The totals double every row: row n sums to 2n.

row 0:1row 1:1  1row 2:1  2  1row 3:1  3  3  1row 4:1  4  6  4  1sum = 1 = 2⁰sum = 2 = 2¹sum = 4 = 2²sum = 8 = 2³sum = 16 = 2⁴Same fact as “an n-item set has 2ⁿ subsets” — each item is in or out.

This is the subset count from chapter 8 in disguise. Flip n coins and C(n,k) counts the outcomes with exactly k heads; add the whole row and you get every outcome, 2n. So “exactly 2 heads in 4 flips” is the 6 in row 4, out of the 16 total — 6/16.

It is also the lattice-path grid, tilted

Remember labeling each corner of a grid with “how many ways to reach it” — each corner was the sum of the one left and the one below? Tilt that grid 45° and it is Pascal's triangle. The path counts and the triangle entries are the same numbers.

Paths to each corner (right/up)1111123413610STARTSame numbers, tilted111121133114641the 6 lives at row 4, two steps in — C(4,2)
Combinations, subset counts, coin-flip counts, and lattice paths are ALL Pascal's triangle. Learn to build the first 6 rows by adding — you will read off answers other kids grind out.

THE MOVE: when a count smells like “choose k of n,” build Pascal’s triangle by adding, and read off row n, position k.

🎯 Try it
Build Pascal’s triangle down to row 5 by adding the two numbers above each. Row 5 is 1, 5, ?, 10, 5, 1. What number fills the gap? (It also equals C(5, 2), the number of handshakes among 5 people.)
Walkthrough: Row 4 is 1, 4, 6, 4, 1. Row 5 entry 2 sits above-left 4 and above-right 6, so it is 4 + 6 = 10. Row 5 reads 1, 5, 10, 10, 5, 1 — and that 10 is C(5, 2), the handshake count for 5 people. (Check: the row sums to 1+5+10+10+5+1 = 32 = 2⁵.)

Pictured-intuition adapted from Competition Math for Middle School (AoPS).

THE TRICK

You rarely need a huge factorial. For small contest numbers, building the triangle by adding is faster and safer than the C(n,k) formula — no big products, no division.

Two facts to carry: row n sums to 2n (every “total outcomes” or “total subsets”), and each entry is the sum of the two above (the “in or out?” split). The triangle is symmetric, so C(n,k) = C(n, n−k) — the row reads the same forwards and backwards.

WORKED EXAMPLE
PROBLEM · 2013 #8

A fair coin is tossed 3 times. What is the probability of at least two consecutive heads?

A) 18 B) 14 C) 38 D) 12 E) 34

A fair coin is tossed 3 times. What is the probability of getting at least two heads in a row?

Start with the total. Three flips give 23 = 8 equally likely outcomes — and that 8 is exactly the sum of row 3 of Pascal’s triangle: 1 + 3 + 3 + 1. (One way to get 0 heads, three ways for 1 head, three for 2 heads, one for 3 heads.)

Now count the favorable ones — outcomes with two heads back to back. List the 8 and mark them:

  • HHH ✓ (three in a row), HHT ✓, THH ✓
  • HTH (heads are split — no), and HTT, THT, TTH, TTT all fail.

That is 3 favorable out of 8, so P = 3/8 — choice (C).

Pascal handed you the denominator instantly (row-3 sum = 8) and reminded you the 8 outcomes split 1-3-3-1 by head-count, so you knew exactly how many to scan.

“At least two consecutive” is an adjacency rule, not a clean C(n,k), so you still list the favorable outcomes. But Pascal does the heavy half: the total 2³ = 8 is the row-3 sum, and the 1-3-3-1 split tells you the shape of the 8 before you write them down.

Answer: C — 3/8.
RULE OF THUMB

Build Pascal’s triangle by adding the two entries above. Row n, position k (from 0) is C(n, k). Each row sums to 2n. Use it for “choose k of n,” subsets, coin-flip counts, and lattice paths — they are one picture.

MORE LIKE THIS
2013 · #8 A fair coin is tossed 3 times. What is the probability of at least two consecutive heads?

A fair coin is tossed 3 times. What is the probability of at least two consecutive heads?

Show answer
Answer: C — 3/8.
Show hints
Hint 1 of 2
Only 8 outcomes exist for 3 flips — small enough to just list them all and circle the winners. "Consecutive" means the two heads must be neighbors (positions 1-2 or 2-3), not scattered.
Still stuck? Show hint 2 →
Hint 2 of 2
When the sample space is tiny (23 = 8), full enumeration beats any clever formula. Probability = (favorable outcomes) ÷ (total outcomes).
Show solution
Approach: enumerate all 8 equally-likely outcomes
  1. All 8 outcomes: HHH, HHT, HTH, HTT, THH, THT, TTH, TTT. Each is equally likely, so we just count favorables.
  2. "At least two consecutive heads" needs HH side by side: HHH, HHT, THH — that's 3. (HTH fails: its heads aren't neighbors.)
  3. Probability = 3 ÷ 8 = 3/8.
  4. Watch the trap: HTH has two heads but they're not consecutive, so it doesn't count — reading "consecutive" carefully is the whole problem.
Another way — complement — subtract the 'no HH' outcomes:
  1. Sometimes it's easier to count the unwanted outcomes. Strings of 3 flips with no two heads adjacent: TTT, TTH, THT, HTT, HTH — 5 of them.
  2. So favorable = 8 − 5 = 3, giving probability 3/8 = 3/8. (When 'at least' makes direct counting fiddly, count the opposite.)
2018 · #7 In a game of luck, a ball rolls downwards towards hammered nails and is diverted either to the right or the left by the nail immediately...

In a game of luck, a ball rolls downwards towards hammered nails and is diverted either to the right or the left by the nail immediately below it. One possible path is shown in the diagram. How many different ways are there for the ball to reach the second compartment from the left?

Figure for Math Kangaroo 2018 Problem 7
Show answer
Answer: C — 4
Show hints
Hint 1 of 2
Count how many rows of nails the ball passes before landing.
Still stuck? Show hint 2 →
Hint 2 of 2
The number of paths into each slot follows the same pattern as the rows of Pascal's triangle (1, then 1–1, then 1–2–1, …).
Show solution
Approach: count left/right choices like Pascal's triangle
  1. The ball passes 4 rows of nails, choosing left or right each time, and lands in one of 5 compartments.
  2. The number of ways to reach the compartments from left to right is 1, 4, 6, 4, 1.
  3. The second compartment from the left has 4 different paths.
2006 · #20 A singles tournament had six players. Each player played every other player only once, with no ties. If Helen won 4 games, Ines won 3...

A singles tournament had six players. Each player played every other player only once, with no ties. If Helen won 4 games, Ines won 3 games, Janet won 2 games, Kendra won 2 games and Lara won 2 games, how many games did Monica (the sixth player) win?

Show answer
Answer: C — 2 games.
Show hints
Hint 1 of 2
Don't try to reconstruct who beat whom — you can't and you don't need to. Instead notice that every single game produces exactly ONE win, so total wins is a fixed, knowable number.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the total number of games (each pair plays once), which equals total wins. Monica's wins are just that total minus everyone else's.
Show solution
Approach: every game makes exactly one win
  1. With 6 players each meeting every other once, the number of games is "choose 2 of 6" = (6 × 5)/2 = 15. Since there are no ties, that's exactly 15 wins handed out.
  2. The five named players account for 4 + 3 + 2 + 2 + 2 = 13 wins.
  3. Monica gets the rest: 15 − 13 = 2.
  4. You'll reuse this: in any round-robin with no ties, (total wins) = (total games) = "choose 2" of the players. The wins are conserved, so a single missing count is always "total minus the known." No game-by-game detective work needed.
CHAPTER 11

Pigeonhole principle — when something is forced

THEORY

Imagine 10 pigeons and 9 nesting boxes. No matter how the pigeons choose, some box must contain at least 2 pigeons. That's the pigeonhole principle.

PIGEONHOLE PRINCIPLE

If you put n objects into k boxes and n > k, then some box must contain at least 2 objects.

Generalized: if you put n objects into k boxes, some box must contain at least ⌈n/k⌉ objects. (The ceiling function rounds up.)

The principle sounds obvious, but it's a precision tool. It lets you prove that something must exist without finding it explicitly — perfect for 'least number to guarantee' problems.

9 pigeons into 5 boxes⌈9/5⌉ = 2 forced; here one box holds 3 — the bound isn't always tight

The contrapositive view (what these contests actually ask). 'Least number to guarantee N of the same kind.' Imagine the worst case: an adversary who spreads things as evenly as possible. How many more do you need to force a clump of N?

If you have k colors and want to guarantee N of one color, the worst case has N − 1 of each color before you finish — that's k(N − 1) items. The next item (one more) must complete a group of N.

WORST-CASE FORMULA

To guarantee N of the same color from k colors:

k · (N − 1) + 1 items.

Walkthrough. A drawer has socks in 3 colors. How many socks must you pull (worst case, in the dark) to guarantee a matching pair?

  • k = 3 colors, N = 2 (matching = pair).
  • Formula: 3·(2−1) + 1 = 4 socks.
  • Worst case: first 3 socks could all be different colors. The 4th must match one of them.

The same logic scales up: 9 colors, want 4 of one → 9·3 + 1 = 28 items.

THE MOVE: for “guarantee,” imagine the unluckiest spread, then add one to force the clump.

🎯 Try it
A drawer has socks in 4 colours, plenty of each. How many socks must you pull in the dark to guarantee 4 of the same colour?
Walkthrough: Worst case: you spread evenly, 3 of each colour with no group of 4 yet — that is 4 × 3 = 12 socks. The 13th sock must complete a group of 4. Formula: k(N−1) + 1 = 4(4−1) + 1 = 13.
THE TRICK

When a problem asks 'least number to guarantee', think worst case. An adversary spreads things as evenly as possible — what's the most they can spread before they're forced to clump?

If items aren't equally available (e.g., 'a bag with 9 red, 7 white, 8 blue gumballs'), the worst case takes ALL of the smaller groups before forcing a clump. The formula k·(N−1) + 1 still works when there are enough of each color; when not, count carefully.

WORKED EXAMPLE
PROBLEM · 2013 #6

A sack contains marbles in five different colours: 2 red, 3 blue, 10 white, 4 green and 3 black. You take marbles out of the bag without looking and without putting any back. What is the smallest number of marbles you must remove to be sure of having two of the same colour?

A) 2 B) 12 C) 10 D) 5 E) 6

A sack holds marbles in 5 colours: 2 red, 3 blue, 10 white, 4 green, 3 black. Reaching in blind, how many must you remove to be sure of two the same colour?

“Sure” means picture the meanest possible luck and beat it. The worst the bag can do is hand you a different colour every time. There are 5 colours, so the unluckiest run is one of each — 5 marbles, all different. No pair yet.

Now the 6th marble has nowhere new to go: there is no 6th colour, so it must repeat one you already hold. So 6 marbles guarantee a matching pair — choice (E).

Check the formula: k = 5 colours, want N = 2 of one. k(N−1) + 1 = 5 · 1 + 1 = 6. ✓ (The big counts like 10 white are a distraction — only the number of colours matters.)

The whole problem is the worst case: the adversary spreads one marble into each colour to delay a match. With 5 colours that delay lasts 5 marbles; the next one is forced. The actual amounts per colour never enter — as long as each colour has at least one, only the count of colours matters.

Answer: E — 6
RULE OF THUMB

To guarantee N of the same kind from k categories: k(N−1) + 1 items. Imagine the worst-case adversary spreading as evenly as possible. The next item is forced.

MORE LIKE THIS
2018 · #7 How many times do you have to roll an ordinary die to be certain that at least one number is rolled twice?

How many times do you have to roll an ordinary die to be certain that at least one number is rolled twice?

Show answer
Answer: C — 7
Show hints
Hint 1 of 2
Think about the worst possible luck: how many different results could you get with no repeat at all?
Still stuck? Show hint 2 →
Hint 2 of 2
A die has 6 faces, so after 6 all-different rolls the very next roll must repeat one (pigeonhole).
Show solution
Approach: pigeonhole / worst case
  1. A die shows only 6 different numbers.
  2. In the unluckiest case the first 6 rolls are all different, one of each number.
  3. The 7th roll has to match a number already seen.
  4. So 7 rolls make a repeat certain.
1991 · #14 Several students are competing in a series of three races. A student earns 5 points for winning a race, 3 points for finishing second,...

Several students are competing in a series of three races. A student earns 5 points for winning a race, 3 points for finishing second, and 1 point for finishing third. There are no ties. What is the smallest number of points a student must earn in the three races to be guaranteed of earning more points than any other student?

Show answer
Answer: D — 13.
Show hints
Hint 1 of 3
"Guaranteed" is the key word — you must beat the rival's BEST possible day, not their average. So picture the strongest single opponent and ask: what score do I need so even they can't tie me? Also: every place (5, 3, 1) is odd, so what's true of every three-race total?
Still stuck? Show hint 2 →
Hint 2 of 3
Three odd numbers always sum to an odd number, so all totals are odd: …, 9, 11, 13, … Test the candidates: for each possible score of yours, work out the best a rival could grab from the places you didn't take, and find the smallest score that leaves every rival strictly behind.
Still stuck? Show hint 3 →
Hint 3 of 3
If you score 11 (say 5+3+3), a rival can also reach 11, so 11 isn't safe. Bump to the next odd total and check whether any rival can still match it.
Show solution
Approach: beat the rival's best-case score, not their typical one
  1. "Guaranteed to win" means your total must exceed what the strongest possible rival could score, so think worst-case for you. First, a quick filter: 5, 3, 1 are all odd, and odd + odd + odd is always odd — so every three-race total is odd. Only 9, 11, 13, 15 are reachable; check from the bottom.
  2. Suppose you score 11. One way is 5 + 3 + 3 — but then a rival could take the two 1st places you didn't (5 + 5) plus a 1, reaching 11 and tying you. So 11 can be tied; not safe.
  3. Now score 13 — say 5 + 5 + 3 (win two races, 2nd in the third). The best any single rival can still collect is 2nd in your two wins and 1st in the remaining race: 3 + 3 + 5 = 11. That's strictly less than 13, every time.
  4. So the smallest guaranteed-winning total is 13.
  5. Why this transfers: "guarantee" problems are worst-case problems — you optimize against an adversary playing their best, not against an average. Pair that with a parity filter (totals here must be odd) to skip half the candidates instantly.
CHAPTER 12

Stars and bars — sharing things among people

THEORY

Here’s a classic question that shows up a lot: you have 7 identical cookies to share among 3 kids. How many ways are there?

The kids don’t have to get the same number. One kid could even get zero. As long as the totals add up to 7, it counts as a valid sharing.

This sounds hard. There’s a beautiful picture-based trick that makes it easy.

The picture: stars and bars

Draw the 7 cookies in a row as stars. To split them among 3 kids, you need 2 dividers (called bars) between the stars. The cookies before the first bar go to kid 1, the cookies between the two bars go to kid 2, and the cookies after the second bar go to kid 3.

||Alice = 2, Bob = 3, Carla = 2||Alice = 0, Bob = 7, Carla = 0||Alice = 1, Bob = 4, Carla = 2

Every way of arranging 7 stars and 2 bars in a row corresponds to exactly one way of sharing the cookies. So now you count arrangements of 7 stars and 2 bars.

Counting the arrangements

There are 7 + 2 = 9 positions in the row. We pick which 2 positions are bars; the rest are stars. From chapter 8, that's C(9, 2) = 9 · 8 / 2 = 36 ways.

So there are 36 ways to share 7 cookies among 3 kids (zeros allowed).

STARS & BARS

To split N identical items among k people (zeros allowed):

C(N + k − 1,  k − 1)

(Imagine N stars and k−1 bars in a row; choose where the bars go.)

The “each kid gets at least one” trick

Often the problem says every kid must get at least one cookie. The trick: give every kid one cookie up front, then share what’s left freely.

Example. 7 cookies, 3 kids, each kid at least 1. Hand out 3 cookies up front (one per kid). Now share the remaining 4 cookies among the 3 kids with no minimum. That’s C(4 + 2, 2) = C(6, 2) = 15 ways.

THE MOVE: identical items, distinct people → draw stars and (people − 1) bars, then count where the bars go.

🎯 Try it
In how many ways can you share 4 identical candies among 3 kids, if a kid is allowed to get zero?
Walkthrough: 4 stars (candies) and 3 − 1 = 2 bars. That is 6 positions in a row; choose which 2 are bars: C(4 + 2, 2) = C(6, 2) = (6 × 5)/2 = 15.

The same trick counts dice sums

Here is a place the dividers sneak in where you would not expect them. In how many ways can three dice show a sum of 6? (Order matters — a red 1, white 2, blue 3 is different from 3, 2, 1.)

Your instinct is to hunt for triples that add to 6 and count the orderings of each. That works, but it is fiddly. Here is the divider view. Draw the 6 as 6 dots in a row. Slot 2 dividers into the gaps to cut the dots into three piles — the first pile is die 1, the middle is die 2, the last is die 3:

||die 1 = 1, die 2 = 2, die 3 = 3

Two rules make this match the dice exactly. Every die must show at least 1, so no divider can sit at either end (that would give a pile of 0). And two dividers cannot share the same gap, so no two dividers are adjacent. Six dots leave 5 inner gaps, and you drop 2 dividers into different gaps: C(5, 2) = 10 ways.

So three dice make a sum of 6 in 10 ways. (Sanity check by listing the triples: 1-1-4 has 3 orderings, 1-2-3 has 6, 2-2-2 has 1 — that is 3 + 6 + 1 = 10. The dividers got there without the case-hunt.) The gap rule “no end, no doubling up” is exactly the “each person gets at least one” trick wearing a costume — every die is a person who must get at least 1 pip.

Framing inspired by Competition Math for Middle School (AoPS) — the “Sticks and Stones” divider model, including the dice-sum variant.

THE TRICK

Two clues that you should reach for stars and bars:

  • The items are identical (cookies, apples, marbles — not labeled).
  • The recipients are distinct (Alice, Bob, Carla — or kid 1, kid 2, kid 3).

If both are true, draw stars (the items) and bars (one fewer bar than there are recipients). Count the arrangements.

If the problem says “each recipient gets at least m,” hand out m to each up front; then run stars-and-bars on what’s left.

WORKED EXAMPLE
PROBLEM · 2019 #25

Alice has 24 apples. In how many ways can she share them with Becky and Chris so that each of the three people has at least two apples?

A) 105 B) 114 C) 190 D) 210 E) 380

Alice has 24 apples to share among herself, Becky, and Chris — each of the three people gets at least 2 apples.

Step 1 — satisfy the minimums up front. Give 2 apples to each person right away. That uses 2 · 3 = 6 apples. We have 24 − 6 = 18 apples left to share freely (zeros now allowed).

Step 2 — stars and bars on the leftover. 18 identical apples among 3 distinct people, zeros allowed. By the formula:

C(18 + 2, 2) = C(20, 2) = 20 · 19 / 2 = 190 ways.

The “at least 2” restriction is a smokescreen. Hand out the minimums first and the problem becomes the standard “identical items, distinct recipients, zeros allowed” setup. Then it’s one combination away from the answer.

Answer: C — 190 ways.
RULE OF THUMB

Identical items, distinct recipients: C(N + k − 1, k − 1). For minimums (each gets at least m): hand out the minimums first, then apply the formula to what’s left.

MORE LIKE THIS
2026 · #20 The land of Catania uses gold coins (1 mm thick) and silver coins (3 mm thick). In how many ways can Taylor make a stack exactly 8 mm...

The land of Catania uses gold coins (1 mm thick) and silver coins (3 mm thick). In how many ways can Taylor make a stack exactly 8 mm tall using any arrangement of gold and silver coins, where order matters?

Show answer
Answer: D — 13.
Show hints
Hint 1 of 2
Listing every 8 mm stack by hand is error-prone. Instead build the answer from smaller stacks: focus on just the top coin — it's either gold (1 mm) or silver (3 mm). What height of stack sits underneath in each case?
Still stuck? Show hint 2 →
Hint 2 of 2
If f(n) counts stacks of height n, a gold top leaves f(n−1) below it and a silver top leaves f(n−3). So f(n) = f(n−1) + f(n−3). Build up from small heights.
Show solution
Approach: recursion by the top coin: f(n) = f(n−1) + f(n−3)
  1. Sort stacks of height n by what the top coin is. If it's gold (1 mm), the rest is any stack of height n−1; if it's silver (3 mm), the rest is any stack of height n−3. Those cases don't overlap and cover everything, so f(n) = f(n−1) + f(n−3).
  2. Seed the small cases: f(0) = 1 (the empty stack), f(1) = 1, f(2) = 1 (only gold fits). Then climb: f(3)=2, f(4)=3, f(5)=4, f(6)=6, f(7)=9, f(8)=13.
  3. So there are 13 stacks.
  4. Why this transfers: ‘order matters’ counting with a few fixed step sizes is almost always a recursion — condition on the last piece, and the count for n becomes a sum of counts for smaller totals (this is the same engine behind staircase / tiling problems).
2020 · #23 Five different awards are to be given to three students. Each student will receive at least one award. In how many different ways can...

Five different awards are to be given to three students. Each student will receive at least one award. In how many different ways can the awards be distributed?

Show answer
Answer: B — 150 ways.
Show hints
Hint 1 of 2
‘Each student gets at least one’ is the awkward part. Counting without that rule is easy — each of the 5 distinct awards independently goes to one of 3 students. So count freely, then remove the bad cases where someone is shut out.
Still stuck? Show hint 2 →
Hint 2 of 2
Total = 35. To remove the bad cases, use inclusion–exclusion: subtract the ‘a chosen student gets nothing’ cases (3 × 25), but you double-removed the ‘two students get nothing’ cases, so add those back (3 × 15).
Show solution
Approach: inclusion–exclusion on ‘someone is empty-handed’
  1. Awards are distinct and students are distinct, so without the ‘at least one’ rule each award has 3 independent choices: 35 = 243 total.
  2. Subtract the assignments where one named student gets nothing (the other two share all 5): C(3,1) × 25 = 3 × 32 = 96.
  3. Those subtractions double-counted the assignments where two named students get nothing (one student hogs everything), so add them back: C(3,2) × 15 = 3.
  4. 243 − 96 + 3 = 150.
  5. Why this transfers: ‘onto’ / ‘everyone gets something’ distributions are the home turf of inclusion–exclusion: count everything, subtract single exclusions, add back double exclusions. The alternating −, + pattern fixes the over-removal automatically.
Another way — split by the shape of the distribution:
  1. With 5 awards into 3 nonempty piles, the pile sizes are either 3-1-1 or 2-2-1 — the only ways to break 5 into three positive parts.
  2. Shape 3-1-1: pick who gets 3 (3 ways), choose their 3 awards C(5,3)=10, then the last 2 awards go one each to the other two students (2 ways): 3 × 10 × 2 = 60.
  3. Shape 2-2-1: pick who gets the single award (3 ways) and which award C(5,1)=5, then split the remaining 4 into two pairs for the two named students C(4,2)=6: 3 × 5 × 6 = 90.
  4. 60 + 90 = 150 — same answer, built directly with no subtracting.
CHAPTER 13

Counting figures — choose what defines them

THEORY

“How many rectangles are in this picture?” feels like a spot-and-count chore where you point at each one and hope you did not miss any. There is a far safer way: instead of hunting for the figures, count the choices that build them. Each figure is pinned down by picking a few key pieces — count the ways to pick, and you have counted the figures, with nothing missed and nothing doubled.

Here is the key idea for rectangles: every rectangle is fixed by two vertical lines and two horizontal lines. Pick the two lefts/rights, pick the two tops/bottoms — you have named exactly one rectangle.

2 vertical + 2 horizontal lines = 1 rectangle

So counting rectangles = counting ways to choose 2 lines from each direction:

# rectangles = C(vertical lines, 2) × C(horizontal lines, 2)

A grid that is 3 squares wide and 2 tall has 4 vertical lines and 3 horizontal lines, so it holds C(4,2)×C(3,2) = 6×3 = 18 rectangles.

THE TRICK

Squares are counted a different way — by size. A 1×1 square fits in many spots, a big square in few. Add up the per-size counts:

square sizepositions in a 3×2 gridcount
1×13 across × 2 down6
2×22 across × 1 down2
total squares8

In an n×n grid this becomes 1²+2²+…+n² squares.

When the figure isn't a clean grid (overlapping boxes, an L-shape), the formula won't apply — so count systematically by size: all the smallest pieces first, then the next size up, then the combined ones. A size-by-size sweep never misses what random eyeballing does.

THE MOVE: don't hunt for figures — count the choices that define each one.

🎯 Try it
A grid is 3 squares wide and 2 squares tall, so it has 4 vertical lines and 3 horizontal lines. How many rectangles does it contain? (Choose 2 of the 4 verticals, times 2 of the 3 horizontals.)
Walkthrough: Pick 2 verticals: C(4, 2) = 6. Pick 2 horizontals: C(3, 2) = 3. Each such pick frames exactly one rectangle, so multiply: 6 × 3 = 18.
WORKED EXAMPLE
PROBLEM · 2010 #5

Anna has connected every upper point to every lower point with straight lines. How many lines has she drawn?

Figure for Math Kangaroo 2010 Problem 5
A) 20 B) 25 C) 30 D) 35 E) 40

Anna draws a line from every top point to every bottom point. The figure shows 5 points on top and 6 on the bottom. How many lines does she draw?

Same idea as the rectangles: don’t trace the lines — count the choices that define one. Each line is fixed by picking one top point and one bottom point. Those two picks are independent, so multiply (chapter 2):

5 top × 6 bottom = 30 lines — choice (C).

Every line corresponds to exactly one (top, bottom) pair, and every pair gives one line — a clean one-to-one match, so the count is exact.

A line is defined by its two endpoints, one from each group, so the count is (tops) × (bottoms). This is the same engine as “rectangle = 2 verticals × 2 horizontals”: name the defining pieces, count the ways to pick them, multiply. No tracing, no eyeballing.

Answer: C — 30
RULE OF THUMB

On a clean grid, # rectangles = C(verticals,2) × C(horizontals,2) and squares add up by size (1²+2²+…). On a messy figure, sweep size by size — never eyeball. The unifying habit: count the choices that define each figure.

MORE LIKE THIS
2016 · #10 During a cycle race starting at D and finishing at B, every connecting road between the towns A, B, C and D shown in the diagram is...

During a cycle race starting at D and finishing at B, every connecting road between the towns A, B, C and D shown in the diagram is ridden along exactly once. How many possible routes are there for the race?

Figure for Math Kangaroo 2016 Problem 10
Show answer
Answer: C — 6
Show hints
Hint 1 of 2
A valid race rides every drawn road exactly once, starting at D and ending at B (an Euler trail).
Still stuck? Show hint 2 →
Hint 2 of 2
List the routes by the first road taken out of D, then trace each to the end at B.
Show solution
Approach: count Euler trails from D to B
  1. The five roads are A-B, A-D, B-D, B-C and D-C; the race must use each exactly once, leaving D and arriving at B.
  2. Organise by the first move from D: starting D-A leads to 2 finishing routes, starting D-B leads to 2, and starting D-C leads to 2.
  3. That makes 2 + 2 + 2 = 6 possible routes.
2006 · #20 A singles tournament had six players. Each player played every other player only once, with no ties. If Helen won 4 games, Ines won 3...

A singles tournament had six players. Each player played every other player only once, with no ties. If Helen won 4 games, Ines won 3 games, Janet won 2 games, Kendra won 2 games and Lara won 2 games, how many games did Monica (the sixth player) win?

Show answer
Answer: C — 2 games.
Show hints
Hint 1 of 2
Don't try to reconstruct who beat whom — you can't and you don't need to. Instead notice that every single game produces exactly ONE win, so total wins is a fixed, knowable number.
Still stuck? Show hint 2 →
Hint 2 of 2
Count the total number of games (each pair plays once), which equals total wins. Monica's wins are just that total minus everyone else's.
Show solution
Approach: every game makes exactly one win
  1. With 6 players each meeting every other once, the number of games is "choose 2 of 6" = (6 × 5)/2 = 15. Since there are no ties, that's exactly 15 wins handed out.
  2. The five named players account for 4 + 3 + 2 + 2 + 2 = 13 wins.
  3. Monica gets the rest: 15 − 13 = 2.
  4. You'll reuse this: in any round-robin with no ties, (total wins) = (total games) = "choose 2" of the players. The wins are conserved, so a single missing count is always "total minus the known." No game-by-game detective work needed.
⬢ FINAL TEST

Stretch test

Five harder counting and probability problems. Each combines multiple techniques.

2019 · #25 Alice has 24 apples. In how many ways can she share them with Becky and Chris so that each of the three people has at least two apples?

Alice has 24 apples. In how many ways can she share them with Becky and Chris so that each of the three people has at least two apples?

Show answer
Answer: C — 190 ways.
Show hints
Hint 1 of 2
The "at least 2 each" rule is the only obstacle — so satisfy it up front. Hand everyone their 2 apples first; whatever's left can be split with no rules at all.
Still stuck? Show hint 2 →
Hint 2 of 2
Now it's "split N identical apples among 3 people, zero allowed." That's stars and bars: lay out the apples in a row and choose where 2 dividers go.
Show solution
Approach: give the minimum first, then unrestricted stars and bars
  1. Pre-give 2 apples to each person (6 used), so the floor is automatically met. That leaves 18 apples to hand out among the three with no lower limit — the hard constraint is gone.
  2. Picture the 18 apples in a row; placing 2 dividers among them splits them into the three shares (a person can get 0). Choosing 2 divider slots out of 18 + 2 = 20 positions gives C(20, 2) = 190.
  3. Why this transfers: a "each gets at least k" condition is removed by pre-allotting k to everyone, converting it to the standard zero-allowed stars-and-bars count C(n + r − 1, r − 1).
2023 · #21 Alina writes the numbers 1, 2, …, 9 on separate cards, one number per card. She wishes to divide the cards into 3 groups of 3 cards so...

Alina writes the numbers 1, 2, …, 9 on separate cards, one number per card. She wishes to divide the cards into 3 groups of 3 cards so that the sum of the numbers in each group will be the same. In how many ways can this be done?

Show answer
Answer: C — 2 ways.
Show hints
Hint 1 of 2
Find the target sum first — that single number tells you a lot. In particular, where can the three largest cards possibly sit?
Still stuck? Show hint 2 →
Hint 2 of 2
Each group sums to 15, so 7, 8, 9 can't share a group (7+8 already overshoots room) — they're spread one per group. Same for 1, 2, 3. Now the only freedom left is where 5 lands; case-split on that.
Show solution
Approach: fix the totals, then place the extreme numbers
  1. The total 1+2+…+9 = 45 splits into three equal groups, so each must sum to 15. That target instantly pins the big and small cards.
  2. 7, 8, 9 must each land in a different group (any two of them already total 15 or more, leaving no room for a positive third). By the same squeeze, 1, 2, 3 spread out one per group too.
  3. So the only real choice is 5's partner-pair, which must sum to 10: {3,5,7}, {2,5,8}, or {1,5,9}. Test each by finishing the other two groups.
  4. {2,5,8} dies: it would leave 1, 3, 7, 9 to form two groups of 15, but 9 needs a 6 (gone) and 7 needs an 8 (gone) — impossible. The other two succeed: {1,5,9}/{3,4,8}/{2,6,7} and {3,5,7}/{1,6,8}/{2,4,9}.
  5. So there are 2 ways. This transfers: in equal-sum partition problems, first compute the target, then corner the extreme values — the largest elements have the fewest legal homes, so placing them first kills most of the casework.
2016 · #21 A top hat contains 3 red chips and 2 green chips. Chips are drawn randomly, one at a time without replacement, until all 3 of the reds...

A top hat contains 3 red chips and 2 green chips. Chips are drawn randomly, one at a time without replacement, until all 3 of the reds are drawn or until both green chips are drawn. What is the probability that the 3 reds are drawn?

Show answer
Answer: B — 2/5.
Show hints
Hint 1 of 3
The real reframe: pretend you keep drawing until ALL 5 chips are out, ignoring the stop. Whoever's color finishes "first" (gets its full set out earliest) is decided entirely by the VERY LAST chip — because the last chip is the one color that didn't finish first.
Still stuck? Show hint 2 →
Hint 2 of 3
So "the 3 reds come out before both greens" is the same event as "the last chip in the full random order is green." Now you just need the chance a random one of the 5 positions — the last — is green.
Still stuck? Show hint 3 →
Hint 3 of 3
Each of the 5 chips is equally likely to be the last one drawn, so the probability the last is green is simply (number of greens) / (total chips).
Show solution
Approach: reframe as 'which color is last in a full shuffle'
  1. Imagine shuffling all 5 chips and revealing them one by one (ignore the early stop — it doesn't change the order). The reds are all out before the greens are all out exactly when the LAST chip revealed is green.
  2. Why: if the last chip is green, then both greens were NOT out before that point, so the reds must have completed first; if the last chip is red, the greens finished first.
  3. Every chip is equally likely to occupy the last position, so P(last is green) = 2 greens / 5 chips = 2/5.
  4. Why this transfers: "which group finishes drawing first" usually hinges only on the single LAST element of a full random order — a powerful shortcut that dodges casework entirely.
Another way — direct: reds win means the 5th-position chip is green:
  1. List which chip sits in the final (5th) position of a random arrangement: it's R, R, R, G, or G — 5 equally likely outcomes, 2 of them green.
  2. The reds-first event is exactly those 2 green-last outcomes, giving 2/5 = 2/5. (You can also enumerate all arrangements and count, landing on the same 2/5.)
1992 · #23 If two dice are tossed, the probability that the product of the numbers showing on the tops of the dice is greater than 10 is

If two dice are tossed, the probability that the product of the numbers showing on the tops of the dice is greater than 10 is

Show answer
Answer: B — 17/36.
Show hints
Hint 1 of 3
Two dice give 6 × 6 = 36 equally likely outcomes (treat the dice as different colors so order counts). The whole job is counting how many of those 36 have a product over 10.
Still stuck? Show hint 2 →
Hint 2 of 3
Organize the count so you don't miss any: fix the FIRST die's value, then ask which second-die values push the product past 10. March through 1, 2, 3, 4, 5, 6 one row at a time.
Still stuck? Show hint 3 →
Hint 3 of 3
Low first values barely qualify (a 1 never works, a 2 needs a 6), so the winners pile up at the high end — count carefully there.
Show solution
Approach: fix the first die, count qualifying partners, then divide by 36
  1. There are 36 equally likely ordered outcomes. Go die-by-die and count partners giving product > 10: first die 1 → none; 2 → only 6 (gives 12), 1 way; 3 → 4, 5, 6, that's 3; 4 → 3, 4, 5, 6, that's 4; 5 → 3, 4, 5, 6, that's 4; 6 → 2, 3, 4, 5, 6, that's 5.
  2. Total winners: 1 + 3 + 4 + 4 + 5 = 17. So the probability is 17/36.
  3. Why count this way: sweeping through one die's values in order is a checklist that guarantees no outcome is double-counted or skipped — the safest method for ‘how many of the 36’ dice questions.
  4. Watch the boundary: ‘greater than 10’ excludes a product of exactly 10 (like 2×5 or 5×2), so those don't count — a classic trap.
2000 · #21 Keiko tosses one penny and Ephraim tosses two pennies. The probability that Ephraim gets the same number of heads that Keiko gets is

Keiko tosses one penny and Ephraim tosses two pennies. The probability that Ephraim gets the same number of heads that Keiko gets is

Show answer
Answer: B — 3/8.
Show hints
Hint 1 of 2
Keiko has only one coin, so she can only get 0 or 1 head — that means there are just TWO ways to 'match,' and you only ever have to consider those two head-counts.
Still stuck? Show hint 2 →
Hint 2 of 2
Independent people ⇒ multiply their probabilities within each matching case, then ADD across the cases. So total = P(both 0) + P(both 1).
Show solution
Approach: split into the only two matchable head-counts
  1. Keiko's single coin: 1 head or 0 heads, each probability ½. Ephraim's two coins: 0 heads (TT) with probability ¼, 1 head (HT or TH) with probability ½, 2 heads (HH) with probability ¼. His '2 heads' can never match Keiko, so ignore it.
  2. Match at 1 head: ½ · ½ = ¼. Match at 0 heads: ½ · ¼ = ⅛.
  3. These cases are exclusive, so add: ¼ + ⅛ = .
  4. The principle: 'same outcome for two players' = sum over each shared value of P(A gets it)·P(B gets it). Limiting to the value the *smaller* experiment can produce keeps the casework tiny.
Another way — count equally-likely outcomes directly:
  1. Keiko has 2 equally likely results (H, T); Ephraim has 4 (HH, HT, TH, TT). Together that's 2 × 4 = 8 equally likely combined outcomes.
  2. Matching ones: Keiko H pairs with Ephraim's 1-head results HT, TH (2 ways); Keiko T pairs with Ephraim's TT (1 way). That's 3 favorable out of 8.
  3. Probability = 3/8 = .
🚀 STRETCH

Stretch practice — beyond AMC 8

81 bonus problems on Counting & Probability. These are typed-answer (no multiple choice) and tilt harder — closer to early AMC 10. Try the ones that look fun.

Stretch · #1 A rabbit climbs a staircase of 10 steps, hopping either 1 step or 2 steps at a time. In how many different orders can it reach the top?
A rabbit climbs a staircase of 10 steps, hopping either 1 step or 2 steps at a time. In how many different orders can it reach the top?
Show answer
Answer: 89 ways
Show hints
Hint 1 of 3
Start tiny: how many ways for a 1-step staircase? A 2-step one? A 3-step one? Write every hopping pattern out.
Still stuck? Show hint 2 →
Hint 2 of 3
The counts go 1, 2, 3, 5, 8, ... — each new count is the sum of the previous two, because the very last hop is either a 1 or a 2.
Still stuck? Show hint 3 →
Hint 3 of 3
Keep that adding going all the way up to step 10.
Show solution
Approach: Reduce and expand — shrink to tiny staircases, find the pattern, grow it back
  1. The last hop onto step n comes from step n−1 (a 1-hop) or step n−2 (a 2-hop), so ways(n) = ways(n−1) + ways(n−2).
  2. Tiny cases by listing: a 1-step staircase has 1 way; a 2-step staircase has 2 ways (1+1 or 2).
  3. Now add the two previous each time: 3→3, 4→5, 5→8, 6→13, 7→21, 8→34, 9→55, 10→89.
  4. So the rabbit can climb the 10 steps in 89 different orders. (These are the Fibonacci numbers.)
Stretch · #1 You flip a fair coin and get 5 heads in a row. (1) What is the probability that the very next flip is also heads? (2) Separately, before...
You flip a fair coin and get 5 heads in a row. (1) What is the probability that the very next flip is also heads? (2) Separately, before you start flipping at all, what is the probability of getting 6 heads in a row? To warm up, list all the outcomes of just 2 flips and find the probability of getting 2 heads in a row.
Show answer
Answer: Next flip: \(\frac{1}{2}\). A streak of 6 heads from the start: \(\frac{1}{64}\)
Show hints
Hint 1 of 4
These are two different questions! One asks about a single next flip; the other asks about a whole streak from the start. Don't let them blur together.
Still stuck? Show hint 2 →
Hint 2 of 4
A coin has no memory. It doesn't know it just landed on 5 heads. So for the single next flip, the past flips change nothing.
Still stuck? Show hint 3 →
Hint 3 of 4
For a streak, list the equally likely outcomes. Two flips give HH, HT, TH, TT — four equally likely cases, so 'two heads' happens 1 time out of 4.
Show solution
Approach: Accounting for all possibilities — independence vs. counting a whole streak
  1. The single next flip: coin flips are independent, so nothing that already happened can change a future flip. The coin has no memory of those 5 heads. So the chance the next flip is heads is just \(\frac{1}{2}\), the same as always.
  2. A streak from the start: warm up with 2 flips. The four equally likely outcomes are \(HH, HT, TH, TT\). Only 1 of these 4 is two-heads, so the probability is \(\frac{1}{4}=\frac{1}{2}\times\frac{1}{2}\).
  3. Each extra flip multiplies by another \(\frac{1}{2}\). For 6 heads in a row, \(\left(\frac{1}{2}\right)^6=\frac{1}{64}\).
  4. So both are true at once: a long streak really is unlikely as a whole, but that does NOT make the single next flip anything other than \(\frac{1}{2}\).
Stretch · #1 Laura is training her pet white rabbit, Ghost, to climb a flight of 10 steps. Ghost can hop up 1 step or 2 steps at a time. He never...
Laura is training her pet white rabbit, Ghost, to climb a flight of 10 steps. Ghost can hop up 1 step or 2 steps at a time. He never hops down, only up. How many different ways can Ghost hop up the whole flight of 10 steps?
Show answer
Answer: 89 ways
Show hints
Hint 1 of 4
The number 10 is big and a little scary. Start tiny! How many ways can Ghost climb a staircase with just 1 step? With just 2 steps? Write out every possible hopping pattern for the small cases.
Still stuck? Show hint 2 →
Hint 2 of 4
Make a table. For 1, 2, 3, 4, 5 steps, list every sequence of 1-hops and 2-hops and count them. You should get 1, 2, 3, 5, 8. Careful: 1, 2, 3 looks like ordinary counting, but keep going — the next number is 5, not 4!
Still stuck? Show hint 3 →
Hint 3 of 4
Think about Ghost's very last hop. To land on step \(n\), he either came from step \(n-1\) (a 1-hop) or from step \(n-2\) (a 2-hop). So the number of ways to reach step \(n\) is the ways to reach step \(n-1\) PLUS the ways to reach step \(n-2\).
Show solution
Approach: Reduce and expand — shrink to tiny staircases, find the Fibonacci pattern, grow it back
  1. Ghost's final hop onto step \(n\) came from step \(n-1\) (a 1-hop) or step \(n-2\) (a 2-hop), so ways(\(n\)) = ways(\(n-1\)) + ways(\(n-2\)).
  2. Tiny cases by listing: a 1-step staircase has 1 way; a 2-step staircase has 2 ways ('1-1' or '2').
  3. Now add the two previous each time to build the table:
  4. StepsWays
    11
    22
    33
    45
    58
    613
    721
    834
    955
    1089
  5. These are the Fibonacci numbers. Reading the table at 10 steps gives the answer: Ghost can climb the flight in \(89\) different ways.
Stretch · #1 You pick 5 cards from a big pile of cards that are each either red or blue. Show that no matter which 5 you grab, you are guaranteed to...
You pick 5 cards from a big pile of cards that are each either red or blue. Show that no matter which 5 you grab, you are guaranteed to have at least 3 cards of the same color. (How many of one color are you guaranteed?)
Show answer
Answer: at least 3 of one color
Show hints
Hint 1 of 3
There are only two colors. Imagine two boxes: a red box and a blue box. Drop each card into the box for its color.
Still stuck? Show hint 2 →
Hint 2 of 3
You have 5 cards going into only 2 boxes. Could both boxes have 2 or fewer cards?
Still stuck? Show hint 3 →
Hint 3 of 3
If each box had at most 2 cards, you'd have at most \(2+2 = 4\) cards. But you have 5! So some box must have 3 or more.
Show solution
Approach: Pigeonhole — 5 cards into 2 color-boxes
  1. Make two boxes (the 'holes'): one for red cards, one for blue cards. Each of your 5 cards goes into the box matching its color.
  2. Could you avoid having 3 of one color? That would mean each box holds at most 2 cards. But \(2+2 = 4\), and you have 5 cards.
  3. So at least one box must hold 3 or more cards — giving 3 cards of the same color. You are guaranteed at least \(3\) of one color.
Stretch · #1 A man has 3 shirts and 4 ties. In how many ways can he choose a shirt and a tie?
A man has 3 shirts and 4 ties. In how many ways can he choose a shirt and a tie?
Shirt-and-tie tree diagram (3 x 4 = 12 paths)startS1S2S3T1T2T3T4T1T2T3T4T1T2T3T4
Show answer
Answer: 12 outfits
Show hints
Hint 1 of 3
He makes the outfit in two steps: first pick a shirt, then pick a tie. The little word 'and' between the two steps is a big clue.
Still stuck? Show hint 2 →
Hint 2 of 3
When you do one thing AND then another, you multiply the number of choices at each step.
Still stuck? Show hint 3 →
Hint 3 of 3
Multiply (number of shirts) times (number of ties).
Show solution
Approach: AND process — multiply the choices at each step
  1. Picking an outfit happens in two steps: choose a shirt AND then choose a tie. When you do one thing and then another, multiply.
  2. There are 3 shirts and 4 ties, so the number of outfits is \(3 \times 4 = 12\).
  3. You can see it with a tree: draw one branch for each shirt, and let each shirt branch split into 4 ties. Counting the 12 branch-ends gives the 12 outfits.
Stretch · #2 A drawer has 7 blue socks and 7 red socks, all jumbled together. You reach in (in the dark) and pull out socks. (1) How many socks must...
A drawer has 7 blue socks and 7 red socks, all jumbled together. You reach in (in the dark) and pull out socks. (1) How many socks must you grab to be CERTAIN of getting a matching pair of some color? (2) Now a harder, different question: how many must you grab to be CERTAIN of getting two BLUE socks specifically? (Imagine the worst possible luck.)
Show answer
Answer: Any matching pair: 3 socks. Two blue socks specifically: 9 socks
Show hints
Hint 1 of 4
'A matching pair of some color' means two blues OR two reds. There are only two colors. Think about the worst case: what is the most socks you could grab and still NOT have a pair?
Still stuck? Show hint 2 →
Hint 2 of 4
If you grabbed 2 socks of different colors (one blue, one red), you have no pair yet. But the very next sock must match one of them!
Still stuck? Show hint 3 →
Hint 3 of 4
For part (2), 'two blue' is much pickier. Worst luck: you keep pulling out red socks. How many reds are in the drawer? You might pull every one of them before a blue shows up.
Show solution
Approach: Considering the worst case — pigeonhole vs. a specific color
  1. Part 1, a matching pair of any color: with only two colors, after you grab 2 socks the unluckiest result is one blue and one red — no pair yet. But the 3rd sock has to be blue or red, so it MUST match one of the two you already hold. So 3 socks guarantee a matching pair. (You can also list the patterns of 3 socks: BBB, BBR, BRR, RRR — every one contains a pair.)
  2. Part 2, two BLUE socks specifically: this is a pickier demand. Imagine pulling out reds again and again with terrible luck. There are 7 red socks, so you could pull all 7 reds before any blue appears. After those 7 reds you still need 2 blue socks, so in the worst case you need \(7+2=9\) socks.
  3. The lesson: read the question carefully! 'A matching pair of any color' (3 socks) and 'two of a specific color' (9 socks) have completely different answers.
Stretch · #2 At the end of the 7th inning of last night's baseball game, the score was tied 8–8. How many different scores were possible at the end...
At the end of the 7th inning of last night's baseball game, the score was tied 8–8. How many different scores were possible at the end of the 6th inning (the inning before)?
Show answer
Answer: 81 possible scores
Show hints
Hint 1 of 4
The tie 8–8 is a big number. Shrink it! How many scores could come before a 0–0 tie? A 1–1 tie? A 2–2 tie? Work out the tiny cases first.
Still stuck? Show hint 2 →
Hint 2 of 4
Before an \(n\)–\(n\) tie, each team's score could be anything from 0 up to \(n\). Make a little grid of (Team A score, Team B score) and count the boxes. For \(n = 0, 1, 2, 3\) you should get 1, 4, 9, 16.
Still stuck? Show hint 3 →
Hint 3 of 4
Those counts 1, 4, 9, 16 are the perfect squares! Each team has \(n+1\) possible scores (0, 1, ..., \(n\)), and the teams are independent, so multiply: \((n+1)\times(n+1)\).
Show solution
Approach: Reduce and expand — small ties reveal the perfect-square count
  1. Reduce the tie to tiny cases. Tie 0–0: only 0–0 came before → 1 possibility.
  2. Tie 1–1: each team had 0 or 1, a 2-by-2 grid → 4 possibilities. Tie 2–2: a 3-by-3 grid → 9. Tie 3–3: a 4-by-4 grid → 16.
  3. The counts 1, 4, 9, 16 are the perfect squares. For a tie \(n\)–\(n\), Team A has \(n+1\) choices (0 to \(n\)) and so does Team B, and they are independent, so the count is \((n+1)^2\).
  4. For the 8–8 tie, \(n = 8\), so the count is \((8+1)^2 = 9^2 = 81\) possible scores.
Stretch · #2 At a party there are 6 people, and everyone knows at least one other person there. Show that at least 2 people know the exact same...
At a party there are 6 people, and everyone knows at least one other person there. Show that at least 2 people know the exact same number of the others. (Knowing is mutual: if A knows B, then B knows A.)
Show answer
Answer: at least 2 people match
Show hints
Hint 1 of 4
Each person knows somewhere between 1 person (the smallest, since everyone knows at least one) and 5 people (everyone else).
Still stuck? Show hint 2 →
Hint 2 of 4
So each person's 'number of friends here' is one of the values 1, 2, 3, 4, or 5. How many choices is that?
Still stuck? Show hint 3 →
Hint 3 of 4
That's only 5 possible 'friend-count' labels, but there are 6 people. Make the 5 labels your boxes and drop each person into the box for their count.
Show solution
Approach: Pigeonhole — 6 people, only 5 possible friend-counts
  1. Each of the 6 people knows at least 1 other and at most 5 others, so each person's number of acquaintances is one of \(1, 2, 3, 4, 5\).
  2. That's only 5 possible values. Make those 5 values into 5 boxes ('knows 1', 'knows 2', ..., 'knows 5').
  3. Put each of the 6 people into the box for how many people they know. With 6 people and only 5 boxes, some box holds at least 2 people.
  4. Those 2 people know the same number of others, so at least \(2\) people must match.
Stretch · #2 Look at a six-pointed star (a Star of David) built from a triangular grid. Hidden inside are triangles of three different sizes — some...
Look at a six-pointed star (a Star of David) built from a triangular grid. Hidden inside are triangles of three different sizes — some point up and some point down. How many triangles are there in all? (This is a classic 'don't miss any!' counting puzzle.)
Show answer
Answer: 20 triangles
Show hints
Hint 1 of 4
First decide how many different SIZES of triangle you can find. There are three.
Still stuck? Show hint 2 →
Hint 2 of 4
For each size, count the up-pointing ones and the down-pointing ones separately. A great trick: cut a cardboard triangle of each size and slide it around so you don't miss any.
Still stuck? Show hint 3 →
Hint 3 of 4
The star looks the same flipped top-to-bottom, so for each size the number pointing up equals the number pointing down.
Show solution
Approach: Sort by size and direction, then add
  1. Two skills are needed: seeing that there are three sizes, and counting carefully so none get missed.
  2. Because the star looks the same flipped upside down, for each size the 'up' count equals the 'down' count.
  3. Tally the three sizes:
    SizeUpDownTotal
    Small6612
    Medium336
    Large112
  4. Add the totals: 12 + 6 + 2 = 20.
  5. So there are 20 triangles in all (12 small, 6 medium, 2 large). The big idea: when a puzzle says 'count them all,' get organized instead of randomly pointing and hoping.
Stretch · #2 A pizza shop lets you start with plain cheese and then add any of these 6 toppings: peppers, onions, sausage, mushrooms, broccoli,...
A pizza shop lets you start with plain cheese and then add any of these 6 toppings: peppers, onions, sausage, mushrooms, broccoli, anchovies. You may add none, some, or all of them. If you order a different pizza every day, how many days until you have tried every possible pizza?
Show answer
Answer: 64 days
Show hints
Hint 1 of 4
There is no word 'and' in the problem, but an AND process is hiding. Go through the toppings one at a time.
Still stuck? Show hint 2 →
Hint 2 of 4
For each single topping you make one decision: yes (add it) or no (skip it). That is 2 choices per topping.
Still stuck? Show hint 3 →
Hint 3 of 4
You decide about topping 1 AND topping 2 AND ... AND topping 6 — six yes/no decisions in a row. Multiply the choices.
Show solution
Approach: AND process — a yes/no choice for each topping
  1. Walk through the toppings one at a time and ask: do I add this one? Each answer is Yes or No — that is 2 choices — and you do it for all 6 toppings.
  2. Since you decide topping 1 AND topping 2 AND ... AND topping 6, you multiply: \(2 \times 2 \times 2 \times 2 \times 2 \times 2 = 2^6 = 64\).
  3. The 'No to all six' outcome is just the plain cheese slice, so it is correctly included. There are 64 different pizzas, so it takes 64 days.
Stretch · #3 There are 26 teams in the annual football draft. Each team's office has a direct phone line to every other team's office. How many phone...
There are 26 teams in the annual football draft. Each team's office has a direct phone line to every other team's office. How many phone lines are there in all?
Reduction case n=5: 5 offices, 10 lines12345
Show answer
Answer: 325 telephone lines
Show hints
Hint 1 of 4
Drawing 26 offices at once is a mess. Start small. How many lines connect 1 office? 2 offices? 3? 4? Draw dots and connect every pair, then count the lines.
Still stuck? Show hint 2 →
Hint 2 of 4
Tabulate the line counts for 1, 2, 3, 4, 5 offices: you get 0, 1, 3, 6, 10. Now look at the JUMPS between them.
Still stuck? Show hint 3 →
Hint 3 of 4
The jumps are 1, 2, 3, 4, ... Each new office must connect to every office already there. So the \(n\)-th office adds \(n-1\) new lines, and the total is \(0 + 1 + 2 + \dots + (n-1)\).
Show solution
Approach: Reduce and expand — the handshake count \(\dfrac{n(n-1)}{2}\)
  1. Reduce the number of offices and count the connecting lines:
  2. OfficesLines
    10
    21
    33
    46
    510
  3. The jumps between line-counts are 1, 2, 3, 4, ... — every new office joins to every office already present, so the \(n\)-th office adds \(n-1\) lines, giving a total of \(0+1+2+\dots+(n-1) = \dfrac{n(n-1)}{2}\).
  4. Another view: each of the \(n\) offices needs a line to the other \(n-1\) offices, which is \(n(n-1)\) line-ends, but each line is counted twice, so divide by 2.
  5. For \(n = 26\): \(\dfrac{26 \times 25}{2} = \dfrac{650}{2} = 325\) telephone lines.
Stretch · #3 Picture a flower with 6 triangular petals around a center. Each petal can be either OPEN or CLOSED, all on its own. How many different...
Picture a flower with 6 triangular petals around a center. Each petal can be either OPEN or CLOSED, all on its own. How many different open/closed patterns are possible in all?
Show answer
Answer: 64 patterns
Show hints
Hint 1 of 4
Start small. If there were just 1 petal, how many patterns? If there were 2 petals?
Still stuck? Show hint 2 →
Hint 2 of 4
Each petal has exactly 2 choices (open or closed), and the petals don't affect each other.
Still stuck? Show hint 3 →
Hint 3 of 4
Multiply the choices: 2 for petal 1, times 2 for petal 2, and so on for all 6 petals.
Show solution
Approach: Multiplication (counting) principle
  1. Go petal by petal. Petal 1 can be open or closed: 2 choices. For each of those, petal 2 has 2 choices, so 2 petals give \(2 \times 2 = 4\) patterns.
  2. Three petals give \(2 \times 2 \times 2 = 8\), and so on — each new petal doubles the count.
  3. For all 6 petals: \(2 \times 2 \times 2 \times 2 \times 2 \times 2 = 2^6 = 64\).
  4. So there are 64 different open/closed patterns. (Fun aside: many of these look the SAME if you rotate or flip the flower; counting only the truly different shapes gives 13, but that uses symmetry ideas beyond this problem.)
Stretch · #3 Ms. Smith wants to tip her doorman. Her purse holds exactly four different things: a quarter, a half dollar, a silver dollar, and a...
Ms. Smith wants to tip her doorman. Her purse holds exactly four different things: a quarter, a half dollar, a silver dollar, and a five-dollar bill. She will give him some of these as a tip. How many different tips are possible (she does give at least one item)?
Show answer
Answer: 15 tips
Show hints
Hint 1 of 4
Treat each piece of money like a pizza topping: decide give it or keep it.
Still stuck? Show hint 2 →
Hint 2 of 4
There are 4 different items, each a yes/no choice. Multiplying the yes/no choices gives all the possible groups.
Still stuck? Show hint 3 →
Hint 3 of 4
\(2 \times 2 \times 2 \times 2\) counts every group, including the 'give nothing' group. But she definitely tips, so that one group is not allowed.
Show solution
Approach: AND process, then subtract the empty case
  1. Each of the 4 different items gets a give-it-or-not decision. That is a 4-step AND process: \(2 \times 2 \times 2 \times 2 = 2^4 = 16\).
  2. Those 16 groups include the 'give nothing' group. Since she definitely gives a tip, throw that one out: \(16 - 1 = 15\).
  3. Because all four items are different values, no two different groups are worth the same, so we are not over-counting. There are 15 possible tips.
Stretch · #4 How many squares of all sizes are there on an \(8 \times 8\) checkerboard?
How many squares of all sizes are there on an \(8 \times 8\) checkerboard?
Show answer
Answer: 204 squares
Show hints
Hint 1 of 4
Careful — the answer is NOT just 64! Those are only the small 1×1 squares. There are also 2×2 squares, 3×3 squares, all the way up to the whole 8×8 board. Start with a tiny board to get the idea.
Still stuck? Show hint 2 →
Hint 2 of 4
Count all the squares on a 1×1 board, then a 2×2 board, then a 3×3. For example, a 2×2 board has four 1×1 squares plus one 2×2 square = 5 total. You should get totals 1, 5, 14, ...
Still stuck? Show hint 3 →
Hint 3 of 4
On the 8×8 board, count each size separately. A \(k\)-by-\(k\) square can slide into \((9-k)\) positions across and \((9-k)\) down, so there are \((9-k)^2\) of them. That gives \(8^2 + 7^2 + \dots + 1^2\).
Show solution
Approach: Reduce and expand — sum the per-size counts \((9-k)^2\)
  1. There are squares of every size from 1×1 up to 8×8, not just the 64 unit squares.
  2. How many \(k\)-by-\(k\) squares fit? Its left edge can start in any of \((9-k)\) columns and its top edge in any of \((9-k)\) rows, so there are \((9-k)^2\) of size \(k\):
  3. Size \(k\)Count \((9-k)^2\)
    164
    249
    336
    425
    516
    69
    74
    81
  4. Add them all up: \(64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 204\). This is \(1^2 + 2^2 + \dots + 8^2\); the formula \(\dfrac{n(n+1)(2n+1)}{6}\) for \(n = 8\) gives \(\dfrac{8 \times 9 \times 17}{6} = 204\) too.
  5. So the board holds \(204\) squares of all sizes.
Stretch · #4 A flower has 6 petals. Each petal opens with probability \(\tfrac12\) (like a fair coin: heads = open, tails = closed), and the petals...
A flower has 6 petals. Each petal opens with probability \(\tfrac12\) (like a fair coin: heads = open, tails = closed), and the petals are independent. What is the probability that EXACTLY 2 of the 6 petals open?
Show answer
Answer: 15/64 (about 0.23)
Show hints
Hint 1 of 4
There are \(2^6 = 64\) equally likely open/closed patterns (each petal a fair coin). So you can find the probability by counting.
Still stuck? Show hint 2 →
Hint 2 of 4
You need patterns with exactly 2 petals open out of 6. That's the same as asking: in how many ways can you CHOOSE which 2 of the 6 petals are the open ones?
Still stuck? Show hint 3 →
Hint 3 of 4
Count the choices of 2 petals from 6: \(\tfrac{6 \times 5}{2} = 15\) ways.
Show solution
Approach: Count favorable patterns over all equally likely patterns
  1. Because each petal is like a fair coin, all \(2^6 = 64\) open/closed patterns are equally likely, so \(P(\text{exactly 2 open}) = \dfrac{\text{patterns with exactly 2 open}}{64}\).
  2. Patterns with exactly 2 open means choosing which 2 of the 6 petals are open. The number of ways to pick 2 of 6 is \(\tfrac{6 \times 5}{2} = 15\) (6 choices for the first, 5 for the second, divide by 2 since order doesn't matter).
  3. So there are 15 good patterns out of 64: \(P(\text{exactly 2 open}) = \dfrac{15}{64} \approx 0.23\).
  4. The probability is \(\dfrac{15}{64}\).
Stretch · #4 A traveler wants to tip a porter using coins from her pocket: 4 pennies, 1 nickel, 1 dime, and 6 quarters. She gives at least one coin....
A traveler wants to tip a porter using coins from her pocket: 4 pennies, 1 nickel, 1 dime, and 6 quarters. She gives at least one coin. How many different tips are possible? (Pennies look alike, and quarters look alike, so only how many of each you give matters.)
Show answer
Answer: 139 tips
Show hints
Hint 1 of 4
Now some coins come in identical copies. Saying 'this exact penny or that exact penny' would double-count, because the pennies look the same.
Still stuck? Show hint 2 →
Hint 2 of 4
Instead, for each kind of coin, just decide HOW MANY to give.
Still stuck? Show hint 3 →
Hint 3 of 4
Pennies: you can give 0, 1, 2, 3, or 4 (that's 5 choices). Nickel: 2 choices. Dime: 2 choices. Quarters: 0 through 6 (that's 7 choices). It's an AND process, so multiply.
Show solution
Approach: AND process by quantity, then subtract the empty case
  1. Because the pennies are identical and the quarters are identical, count by HOW MANY of each kind we give, not which exact coin. That makes it an AND process over the four kinds.
  2. Pennies: 0, 1, 2, 3, or 4 gives 5 choices. Nickel: give it or not gives 2 choices. Dime: 2 choices. Quarters: 0 through 6 gives 7 choices.
  3. Multiply: \(5 \times 2 \times 2 \times 7 = 140\).
  4. This count includes giving nothing. Since she gives at least one coin, subtract that one case: \(140 - 1 = 139\).
Stretch · #5 A license plate starts with three digits, like \(N_1 N_2 N_3\), where each digit is chosen at random from 0 through 9 (so 007 and 000...
A license plate starts with three digits, like \(N_1 N_2 N_3\), where each digit is chosen at random from 0 through 9 (so 007 and 000 are allowed). (1) What is the probability that the three digits are all different? (2) What is the probability that they are NOT all different (some repeat)?
Show answer
Answer: All different: 0.72. Not all different: 0.28
Show hints
Hint 1 of 4
First count ALL possible three-digit strings. Each of the 3 positions can be any of 10 digits, so use the multiplication principle.
Still stuck? Show hint 2 →
Hint 2 of 4
Now count the strings where all three digits are different. The first digit can be anything; each later digit must avoid the digits already used.
Still stuck? Show hint 3 →
Hint 3 of 4
All-different count: \(10\times 9\times 8\). Total: \(10\times 10\times 10\). Probability = all-different / total.
Show solution
Approach: Multiplication principle plus complementary counting
  1. Total strings: each of the 3 positions has 10 choices, so by the multiplication principle there are \(10\times 10\times 10=1000\) possible strings (000 through 999).
  2. All three different: the first digit can be any of 10, the second must differ from the first (9 left), the third must differ from both (8 left): \(10\times 9\times 8=720\). So \(P(\text{all different})=\frac{720}{1000}=0.72\).
  3. Not all different is the opposite event, so \(P(\text{not all different})=1-0.72=0.28\).
  4. Check: exactly-two-equal gives \(3\times(10\times 9)=270\) and all-three-equal gives \(10\), total \(280\), which is \(0.28\). It matches!
Stretch · #5 Ms. Streett will tip a coat-check helper using coins in her purse: 2 dimes, 2 quarters, and 1 nickel. She will definitely give at least...
Ms. Streett will tip a coat-check helper using coins in her purse: 2 dimes, 2 quarters, and 1 nickel. She will definitely give at least one coin. In how many different ways can she choose which coins to give?
Show answer
Answer: 17 ways
Show hints
Hint 1 of 3
Count by how many of each kind you give, since the two dimes match and the two quarters match.
Still stuck? Show hint 2 →
Hint 2 of 3
Dimes: 0, 1, or 2 (3 choices). Quarters: 0, 1, or 2 (3 choices). Nickel: 0 or 1 (2 choices). Multiply.
Still stuck? Show hint 3 →
Hint 3 of 3
After multiplying, remember she gives at least one coin, so remove the 'give nothing' case.
Show solution
Approach: AND process by quantity, then subtract the empty case
  1. Count by how many of each kind she gives (an AND process).
  2. Dimes: 0, 1, or 2 gives 3 ways. Quarters: 0, 1, or 2 gives 3 ways. Nickel: 0 or 1 gives 2 ways.
  3. Multiply: \(3 \times 3 \times 2 = 18\).
  4. She definitely tips, so drop the 'give nothing' case: \(18 - 1 = 17\) ways.
Stretch · #6 A plate has the form \(N_1 N_2 N_3 - L_1 L_2 L_3\): three digits (0-9) then three letters (A-Z). The total number of possible plates is...
A plate has the form \(N_1 N_2 N_3 - L_1 L_2 L_3\): three digits (0-9) then three letters (A-Z). The total number of possible plates is \(10^3\times 26^3 = 17{,}576{,}000\). How many plates have all three digits different AND all three letters different? What is the probability of getting one?
Show answer
Answer: 11,232,000 plates; probability about 0.0639 (about 1 in 16)
Show hints
Hint 1 of 3
Handle the digit part and the letter part separately, then multiply, because the digits and letters are chosen independently.
Still stuck? Show hint 2 →
Hint 2 of 3
All-different digits: \(10\times 9\times 8\). All-different letters: \(26\times 25\times 24\) (each new letter avoids the ones already used).
Still stuck? Show hint 3 →
Hint 3 of 3
Multiply those two counts for the number of favorable plates, then divide by \(17{,}576{,}000\) for the probability.
Show solution
Approach: Multiplication principle — count digits and letters separately
  1. The digits and letters are picked independently, so count each part and multiply.
  2. Three different digits: \(10\times 9\times 8=720\). Three different letters: \(26\times 25\times 24=15{,}600\).
  3. Favorable plates: \(720\times 15{,}600=11{,}232{,}000\).
  4. Probability: \(\frac{11{,}232{,}000}{17{,}576{,}000}\approx 0.0639\), about 1 in 16.
Stretch · #6 A tennis tournament has 61 players. In any round with an odd number of players, one player gets a 'bye' (they skip that round and...
A tennis tournament has 61 players. In any round with an odd number of players, one player gets a 'bye' (they skip that round and advance without playing). Every match is played until someone wins; the loser is knocked out. How many matches are played in all before one champion is left undefeated?
Show answer
Answer: 60 matches
Show hints
Hint 1 of 4
First make sure you understand a 'bye': it just means a player moves on to the next round without playing, because there was an odd number of players.
Still stuck? Show hint 2 →
Hint 2 of 4
You COULD draw the whole bracket round by round and add up the matches. That works, but it's a lot of bookkeeping.
Still stuck? Show hint 3 →
Hint 3 of 4
Try a smarter idea: instead of counting winners, count LOSERS. Every match knocks out exactly one player.
Show solution
Approach: Count losers, not winners
  1. Bracket way (the long way): Round 1 has 61 players (one bye), 30 matches, 31 left; Round 2: 15 matches, 16 left; Round 3: 8 matches, 8 left; Round 4: 4 matches; Round 5: 2 matches; Round 6: 1 match. Total \(30+15+8+4+2+1=60\).
  2. The clever way: the champion is the only player who never loses, and everyone loses exactly once, by being knocked out in one match.
  3. A bye is not a match and knocks no one out. Each match knocks out exactly one player, and we must knock out everyone except the champion.
  4. So the number of matches is \(61-1=60\). Counting losers skips all the messy bye bookkeeping.
Stretch · #6 A 9-inch piece of wire is bent at two of the inch marks so its two ends meet, forming a triangle. The two bends must land exactly on...
A 9-inch piece of wire is bent at two of the inch marks so its two ends meet, forming a triangle. The two bends must land exactly on inch marks. How many different choices of bending points are possible?
Bending-point triangular array (9-inch wire)12345678XXXXXXXXXX4 + 3 + 2 + 1 = 10 choices
Show answer
Answer: 10 choices
Show hints
Hint 1 of 4
The three sides are whole numbers that add to 9. Which whole-number triples can actually form a triangle? (Triangle rule: the two shorter sides together must be LONGER than the longest side.)
Still stuck? Show hint 2 →
Hint 2 of 4
List the valid shapes: 3-3-3, 1-4-4, and 2-3-4. But careful — the question asks for bending-POINT choices, not just shapes.
Still stuck? Show hint 3 →
Hint 3 of 4
Organize by the first (smaller) bend. If you bend first at 1, then 2, then 3, then 4, how many valid second bends does each allow?
Show solution
Approach: Organize the bending-point pairs by the smaller bend
  1. Whole-number sides adding to 9 that obey the triangle rule are only three shapes: 3-3-3 (equilateral), 1-4-4 (isosceles), and 2-3-4 (scalene). Many people stop and answer '3' — but the question asks for bending-point choices.
  2. Lay the wire out as marks 1 through 8; picking two bends fixes where each side falls. List by the smaller bend: bend at 1 and 5 (1 way); bend at 2 and {5 or 6} (2 ways); bend at 3 and {5,6,7} (3 ways); bend at 4 and {5,6,7,8} (4 ways).
  3. Total: \(1 + 2 + 3 + 4 = 10\) choices.
  4. So there are 10 choices of bending points. (Notice 10 is the 4th triangular number.)
Stretch · #7 Using the same plate form \(N_1 N_2 N_3 - L_1 L_2 L_3\) (total \(17{,}576{,}000\) plates), how many plates have three EQUAL digits and...
Using the same plate form \(N_1 N_2 N_3 - L_1 L_2 L_3\) (total \(17{,}576{,}000\) plates), how many plates have three EQUAL digits and three EQUAL letters (like 777-MMM)? What is the probability of getting one?
Show answer
Answer: 260 plates; probability about 0.0000148 (about 1 in 67,600)
Show hints
Hint 1 of 3
If all three digits must be equal, only the first digit is a real choice — the other two are forced to copy it.
Still stuck? Show hint 2 →
Hint 2 of 3
Three equal digits: \(10\times 1\times 1\). Three equal letters: \(26\times 1\times 1\). Multiply for the plate count.
Still stuck? Show hint 3 →
Hint 3 of 3
Divide by \(17{,}576{,}000\) to get the probability.
Show solution
Approach: Multiplication principle — forced positions count as 1 choice
  1. If all three digits are equal, the first digit can be any of 10, and the other two are forced to match it: \(10\times 1\times 1=10\) ways. Same idea for letters: \(26\times 1\times 1=26\) ways.
  2. Digits and letters are independent, so \(10\times 26=260\) plates have three equal digits and three equal letters.
  3. Probability: \(\frac{260}{17{,}576{,}000}\approx 0.0000148\), about 1 in 67,600.
Stretch · #7 Now use a 10-inch wire instead of 9, again bent at two inch marks to make a triangle. Will there be MORE choices, FEWER, or the SAME...
Now use a 10-inch wire instead of 9, again bent at two inch marks to make a triangle. Will there be MORE choices, FEWER, or the SAME number as the 9-inch wire? Find the exact number of bending-point choices.
Show answer
Answer: 6 choices (fewer than the 9-inch wire's 10)
Show hints
Hint 1 of 4
Don't just guess 'longer means more!' Test it. List the whole-number side triples that add to 10 and obey the triangle rule.
Still stuck? Show hint 2 →
Hint 2 of 4
No side can be 5 or more (since 5 is half of 10, and a side that big can't be beaten by the other two). So all sides are 4 or less and add to 10.
Still stuck? Show hint 3 →
Hint 3 of 4
The only valid shapes are 2-4-4 and 3-3-4. Now count the actual bending-point pairs for each.
Show solution
Approach: List valid triangles, then count bending-point pairs
  1. For sides adding to 10 with the triangle rule, every side must be less than 5 (a side of 5 or more couldn't be beaten by the rest). The only whole-number triangles are 2-4-4 and 3-3-4, both isosceles — no scalene triangle fits.
  2. Count the bending-point pairs: 2-4-4 comes from {2,6}, {4,6}, {4,8}; and 3-3-4 comes from {3,6}, {3,7}, {4,7}.
  3. That's \(3 + 3 = 6\) choices, all isosceles — fewer than the 10 choices for the 9-inch wire.
  4. So the answer is 6: a longer wire does not always mean more triangles. Always check, don't assume!
Stretch · #8 A 'symmetrical' plate has the form \(N_1 N_2 N_1 - L_1 L_2 L_1\): the first and third digits match, the first and third letters match,...
A 'symmetrical' plate has the form \(N_1 N_2 N_1 - L_1 L_2 L_1\): the first and third digits match, the first and third letters match, and the middle entry is different from the outer ones (like 363-WXW). Out of \(17{,}576{,}000\) total plates, how many are symmetrical? What is the probability of getting one?
Show answer
Answer: 58,500 plates; probability about 0.00333 (about 1 in 300)
Show hints
Hint 1 of 3
Symmetry forces the third digit to copy the first and the third letter to copy the first. Those positions are not free choices.
Still stuck? Show hint 2 →
Hint 2 of 3
Pick the first digit (10 ways), then the middle digit different from it (9 ways); the third digit is forced (1 way). Do the same for letters with 26 and 25.
Still stuck? Show hint 3 →
Hint 3 of 3
Multiply the digit count by the letter count, then divide by \(17{,}576{,}000\).
Show solution
Approach: Multiplication principle with forced positions
  1. Build the symmetrical digit part \(N_1 N_2 N_1\): choose \(N_1\) in 10 ways, choose \(N_2\) different from it in 9 ways, and \(N_3\) is forced to equal \(N_1\) (1 way): \(10\times 9\times 1=90\).
  2. Same for the letters \(L_1 L_2 L_1\): \(26\times 25\times 1=650\).
  3. So the number of symmetrical plates is \(90\times 650=58{,}500\), and the probability is \(\frac{58{,}500}{17{,}576{,}000}\approx 0.00333\), about 1 in 300.
Stretch · #8 How many subsets does a set of 5 elements have? (A subset is any group you can form, including the empty group and the whole set.)
How many subsets does a set of 5 elements have? (A subset is any group you can form, including the empty group and the whole set.)
Show answer
Answer: 32 subsets
Show hints
Hint 1 of 3
Forming a subset is like the pizza problem: go through the elements one at a time and decide 'in' or 'out'.
Still stuck? Show hint 2 →
Hint 2 of 3
Each element gives 2 choices (in or out). How many elements are there?
Still stuck? Show hint 3 →
Hint 3 of 3
Multiply 2 by itself once for each element.
Show solution
Approach: AND process — an in/out choice for each element
  1. Forming a subset is a 5-step AND process: for each element, decide 'in' or 'out' (2 choices).
  2. The empty set (all 'out') and the full set (all 'in') both count.
  3. Multiply: \(2^5 = 32\). A set of 5 elements has 32 subsets.
Stretch · #9 A fruit bowl has 3 apples, 2 oranges, and 4 bananas. Judy will take at least one piece of fruit. How many different fruit combinations...
A fruit bowl has 3 apples, 2 oranges, and 4 bananas. Judy will take at least one piece of fruit. How many different fruit combinations can she take? (Pieces of the same fruit look alike, so only how many of each she takes matters.)
Show answer
Answer: 59 combinations
Show hints
Hint 1 of 4
Since pieces of the same fruit are identical, for each fruit only the quantity matters — like the porter's coins.
Still stuck? Show hint 2 →
Hint 2 of 4
For each fruit she may take 0 up to all of them. Count the quantity choices for each fruit.
Still stuck? Show hint 3 →
Hint 3 of 4
Apples: 0-3 (4 ways), oranges: 0-2 (3 ways), bananas: 0-4 (5 ways). Multiply.
Show solution
Approach: AND process by quantity, then subtract the empty case
  1. Identical pieces mean we count by quantity per fruit (AND process).
  2. Apples: 0-3 gives 4 ways. Oranges: 0-2 gives 3 ways. Bananas: 0-4 gives 5 ways.
  3. Multiply: \(4 \times 3 \times 5 = 60\).
  4. This includes taking nothing. Since she takes at least one piece, subtract that case: \(60 - 1 = 59\).
Stretch · #10 Peggy will buy one or more new fish for her tank from 6 identical coral fish, 7 identical angel fish, and 3 identical blue fish. In how...
Peggy will buy one or more new fish for her tank from 6 identical coral fish, 7 identical angel fish, and 3 identical blue fish. In how many ways can she make her selection?
Show answer
Answer: 223 ways
Show hints
Hint 1 of 3
The fish of each kind look alike, so only the number of each kind taken matters.
Still stuck? Show hint 2 →
Hint 2 of 3
For each kind she may take 0 up to all available. Count the choices for each of the three kinds.
Still stuck? Show hint 3 →
Hint 3 of 3
Coral: 0-6 (7 ways), angel: 0-7 (8 ways), blue: 0-3 (4 ways). Multiply, then remove the empty selection since she buys one or more.
Show solution
Approach: AND process by quantity, then subtract the empty case
  1. Count by quantity of each identical kind (AND process).
  2. Coral: 0-6 gives 7 ways. Angel: 0-7 gives 8 ways. Blue: 0-3 gives 4 ways. So \(7 \times 8 \times 4 = 224\).
  3. 'One or more' rules out taking no fish, so subtract that one case: \(224 - 1 = 223\).
Stretch · #11 A drawer has \(7\) pairs of blue socks and \(7\) pairs of red socks, all jumbled together. Reaching in the dark, how many socks must you...
A drawer has \(7\) pairs of blue socks and \(7\) pairs of red socks, all jumbled together. Reaching in the dark, how many socks must you grab at once to be SURE you have a matching pair (two of the same color)?
Show answer
Answer: 3 socks
Show hints
Hint 1 of 3
The numbers \(7\) and \(7\) are a distraction. Ask the key question: assuming the worst possible luck, how many socks could you pull out and STILL not have a matching pair?
Still stuck? Show hint 2 →
Hint 2 of 3
There are only two colors. The most you could grab without a match is one blue and one red — just \(2\) socks.
Still stuck? Show hint 3 →
Hint 3 of 3
Now think about the very next sock. What color can it possibly be?
Show solution
Approach: Asking the key question — the pigeonhole worst case
  1. Ask the key question: with the worst luck, how many socks can you draw and still have no match?
  2. There are only two colors. The unluckiest grab gives you one blue and one red — \(2\) socks, no match yet.
  3. But the third sock you pull MUST be blue or red, and either way it matches one you already hold. So \(3\) socks are always enough (and \(2\) is not). The numbers \(7\) and \(7\) never matter — only that there are \(2\) colors.
Stretch · #11 Write any 6 whole numbers into the 6 cells of a 2-row, 3-column grid. Show that you can pick a rectangle (2 of the 3 columns) whose 4...
Write any 6 whole numbers into the 6 cells of a 2-row, 3-column grid. Show that you can pick a rectangle (2 of the 3 columns) whose 4 corner numbers add up to an even number.
2 by 3 cell array
Show answer
Answer: such a rectangle always exists
Show hints
Hint 1 of 4
Whether a sum is even or odd only depends on even/odd, not the actual numbers. Replace each number by E (even) or O (odd).
Still stuck? Show hint 2 →
Hint 2 of 4
Look at each column as a top/bottom pair. A column's SUM is either even or odd. Label each column 'even-sum' or 'odd-sum'.
Still stuck? Show hint 3 →
Hint 3 of 4
Now you have 3 columns sorted into just 2 labels ('even-sum' or 'odd-sum'). What does pigeonhole say?
Show solution
Approach: Pigeonhole on column-sum parity — 3 columns, 2 labels
  1. Only even/odd matters for whether a sum is even, so replace each number by E or O.
  2. Look at each of the 3 columns as a top/bottom pair and ask whether its two numbers add to an even or odd total. Label each column 'even-sum' or 'odd-sum' — just 2 labels (boxes) for 3 columns.
  3. Since \(3 > 2\), two columns share a label. If both are 'even-sum', the four corners total even + even = even; if both are 'odd-sum', they total odd + odd = even.
  4. Either way, that pair of columns forms a rectangle whose 4 corner numbers add up to an even number.
Stretch · #11 A carrier has 3 letters and 5 mailboxes. In how many ways can the letters be placed if (a) each letter must go in a different mailbox;...
A carrier has 3 letters and 5 mailboxes. In how many ways can the letters be placed if (a) each letter must go in a different mailbox; (b) any number of letters may share a mailbox?
Show answer
Answer: (a) 60; (b) 125
Show hints
Hint 1 of 4
Place the letters one at a time — placing each letter is a step in an AND process.
Still stuck? Show hint 2 →
Hint 2 of 4
In part (b), each letter independently has all 5 mailboxes to choose from. In part (a), a box already used by an earlier letter is no longer available.
Still stuck? Show hint 3 →
Hint 3 of 4
(b): \(5 \times 5 \times 5\) (three letters, 5 choices each). (a): 5 for the first letter, then 4, then 3, as boxes get used up.
Show solution
Approach: AND process, placing letters one at a time
  1. Place the 3 letters one after another — a 3-step AND process.
  2. (a) Different mailboxes: the first letter has 5 choices, the second has 4 (one box is taken), the third has 3, so \(5 \times 4 \times 3 = 60\).
  3. (b) No restriction: each letter independently may go in any of the 5 boxes, so \(5 \times 5 \times 5 = 125\).
Stretch · #12 An apartment building has \(20\) mailboxes. How many letters must the mailman deliver to be CERTAIN that at least one box ends up with...
An apartment building has \(20\) mailboxes. How many letters must the mailman deliver to be CERTAIN that at least one box ends up with \(3\) or more letters?
Show answer
Answer: 41 letters
Show hints
Hint 1 of 3
Ask the key question: what is the most letters you could deliver while keeping every box at \(2\) or fewer (so no box has reached \(3\) yet)?
Still stuck? Show hint 2 →
Hint 2 of 3
The worst case puts exactly \(2\) letters in every single box. With \(20\) boxes, how many letters is that in total?
Still stuck? Show hint 3 →
Hint 3 of 3
One more letter after that must push some box up to \(3\).
Show solution
Approach: Asking the key question — the pigeonhole worst case
  1. Ask the key question: how many letters can be delivered without any box reaching \(3\)?
  2. In the worst case, every one of the \(20\) boxes gets exactly \(2\) letters: \(20 \times 2 = 40\) letters, and still no box has \(3\).
  3. But the very next letter, the \(41\)st, has to go into a box that already holds \(2\), making it \(3\). So \(41\) letters guarantee that some box has at least \(3\).
Stretch · #12 Now there are 6 letters and 4 mailboxes. In how many ways can the letters be placed if (a) each letter must go in a different mailbox;...
Now there are 6 letters and 4 mailboxes. In how many ways can the letters be placed if (a) each letter must go in a different mailbox; (b) any number of letters may share a mailbox?
Show answer
Answer: (a) 0 (impossible); (b) 4096
Show hints
Hint 1 of 3
Use the same place-one-letter-at-a-time idea, but now there are more letters than boxes.
Still stuck? Show hint 2 →
Hint 2 of 3
Part (a) wants all 6 letters in different mailboxes — but there are only 4 boxes. Is that even possible?
Still stuck? Show hint 3 →
Hint 3 of 3
If 6 letters must each be in a separate box but there are only 4 boxes, two letters are forced to share. So (a) has 0 ways. For (b), each of the 6 letters has 4 choices.
Show solution
Approach: Pigeonhole for (a); AND process for (b)
  1. (a) Different mailboxes: you would need at least 6 boxes to put 6 letters in different boxes, but there are only 4. By the pigeonhole idea (more letters than boxes forces a box to hold two), it is impossible — 0 ways.
  2. (b) No restriction: place the 6 letters one at a time, each with 4 choices, so \(4^6 = 4096\).
Stretch · #13 A drawer holds \(6\) red, \(7\) green, \(4\) blue, and \(9\) yellow ribbons, all the same shape so you can't tell them apart by feel. In...
A drawer holds \(6\) red, \(7\) green, \(4\) blue, and \(9\) yellow ribbons, all the same shape so you can't tell them apart by feel. In the dark, how many ribbons must you pull out to be sure you have at least one of EVERY color?
Show answer
Answer: 23 ribbons
Show hints
Hint 1 of 3
Ask the key question: with the worst luck, how many ribbons could you pull and still be missing one color (have only \(3\) of the \(4\) colors)?
Still stuck? Show hint 2 →
Hint 2 of 3
To stay missing a color as long as possible, imagine grabbing every ribbon of the three biggest colors first, and none of the smallest.
Still stuck? Show hint 3 →
Hint 3 of 3
The smallest color is blue (\(4\)). Add up the other three counts: \(6 + 7 + 9\). After all those, you still have no blue. What does the next ribbon have to be?
Show solution
Approach: Asking the key question — the worst-case grab
  1. Ask the key question: what is the most ribbons you can hold while still missing a color?
  2. The unluckiest run grabs every ribbon of the three most common colors and skips the rarest (blue): \(6\) (red) \(+\ 7\) (green) \(+\ 9\) (yellow) \(= 22\) ribbons, and you still have zero blue.
  3. The \(23\)rd ribbon has no choice but to be blue, completing all four colors. So you must take \(23\) ribbons to be certain. (You might get lucky much sooner, but 'certain' means even in the worst case.)
Stretch · #13 A bin holds a mix of 3 kinds of apples. A customer wants 3 apples of the same kind. What is the smallest number of apples they must grab...
A bin holds a mix of 3 kinds of apples. A customer wants 3 apples of the same kind. What is the smallest number of apples they must grab to be guaranteed 3 of the same kind (and show that one fewer might not be enough)?
Show answer
Answer: 7 apples
Show hints
Hint 1 of 4
Think about the worst luck. How many apples could you grab while still avoiding 3 of any one kind?
Still stuck? Show hint 2 →
Hint 2 of 4
With 3 kinds, the worst case is 2 of each kind. How many apples is that?
Still stuck? Show hint 3 →
Hint 3 of 4
That worst case is \(2 \times 3 = 6\) apples with no kind reaching 3 — so 6 can fail.
Show solution
Approach: Pigeonhole / worst case — 3 kinds as boxes
  1. Use the 3 kinds as 3 boxes. To dodge getting 3 of a kind, each box can hold at most 2 apples.
  2. The most apples grabbed that way is \(2 \times 3 = 6\) (exactly 2 of each kind) — so 6 apples might not give 3 of a kind.
  3. Grab a 7th apple: now 7 apples in 3 boxes, and \(7 = 2\times 3 + 1\), so some box must hold at least 3.
  4. That's 3 of the same kind, guaranteed, so \(7\) is the smallest number that always works.
Stretch · #14 A class has 50 students. The oldest is 18 and the youngest is 15. Show that at least 2 students were born in the same month of the same year.
A class has 50 students. The oldest is 18 and the youngest is 15. Show that at least 2 students were born in the same month of the same year.
Show answer
Answer: at least 2 students share a birth month and year
Show hints
Hint 1 of 4
Ages from 15 to 18 cover how many different birth YEARS?
Still stuck? Show hint 2 →
Hint 2 of 4
Each year has 12 months. Multiply the number of years by 12 to count the possible (year, month) combinations.
Still stuck? Show hint 3 →
Hint 3 of 4
Ages 15–18 span 4 birth years, so there are \(4 \times 12 = 48\) possible (year, month) boxes.
Show solution
Approach: Pigeonhole — 50 students into 48 month-and-year boxes
  1. Students aged 15 to 18 were born in one of 4 different years.
  2. Each year has 12 months, so the number of possible (birth year, birth month) combinations is \(4 \times 12 = 48\). Make these 48 combinations the boxes.
  3. Put each of the 50 students into the box for their birth month and year. Since \(50 > 48\), some box holds at least 2 students.
  4. Those 2 students were born in the same month of the same year.
Stretch · #15 Mrs. Stux has 3 dimes, 2 quarters, and 4 nickels in her purse. She will give a tip of one or more coins. How many different tips can she...
Mrs. Stux has 3 dimes, 2 quarters, and 4 nickels in her purse. She will give a tip of one or more coins. How many different tips can she give? (Count by how many of each kind she uses.)
Show answer
Answer: 59 tips
Show hints
Hint 1 of 3
Coins of the same kind look alike, so count by how many of each kind you give.
Still stuck? Show hint 2 →
Hint 2 of 3
Dimes: 0-3, quarters: 0-2, nickels: 0-4. Find the number of choices for each, then multiply.
Still stuck? Show hint 3 →
Hint 3 of 3
Dimes 4 ways, quarters 3 ways, nickels 5 ways. After multiplying, subtract the 'no tip' case since she gives one or more.
Show solution
Approach: AND process by quantity, then subtract the empty case
  1. Count by how many of each kind she gives (AND process).
  2. Dimes: 0-3 gives 4 ways. Quarters: 0-2 gives 3 ways. Nickels: 0-4 gives 5 ways. So \(4 \times 3 \times 5 = 60\).
  3. She gives one or more coins, so subtract the empty tip: \(60 - 1 = 59\).
Stretch · #16 A tournament has \(36\) players. One loss knocks you out. How many games must be played to crown a single champion? Then: how would the...
A tournament has \(36\) players. One loss knocks you out. How many games must be played to crown a single champion? Then: how would the answer change if it took TWO losses to be knocked out?
Show answer
Answer: 35 games (single elimination); 70 or 71 games if two losses are needed
Show hints
Hint 1 of 3
Don't count games from the winner's side — that's hard. Ask the complement question: how many LOSERS are there, and how does a loss relate to a game?
Still stuck? Show hint 2 →
Hint 2 of 3
Each game produces exactly one loser. So the number of games equals the total number of losses handed out.
Still stuck? Show hint 3 →
Hint 3 of 3
Everyone except the one champion gets eliminated. For one-loss: \(35\) players must be eliminated, so \(35\) losses, so \(35\) games. For two-loss: each eliminated player needs \(2\) losses.
Show solution
Approach: Seeking complements — count losses, not wins
  1. Ask the complement question: count losses, not wins. Every game makes exactly one loser, so the number of games equals the number of losses.
  2. One loss to eliminate: out of \(36\) players, exactly \(1\) becomes champion and the other \(35\) are each eliminated by \(1\) loss. That is \(35\) losses, so \(35\) games.
  3. Two losses to eliminate: each of the \(35\) eliminated players must collect \(2\) losses, giving \(35 \times 2 = 70\) losses. The champion might also pick up a loss along the way (one is allowed), so the total is \(70\) games if the champion never lost, or \(71\) if the champion lost exactly once before winning.
Stretch · #17 In a town of 10 people, everyone has at least 1 friend (friendship is mutual). Show that at least 2 people have the same number of friends.
In a town of 10 people, everyone has at least 1 friend (friendship is mutual). Show that at least 2 people have the same number of friends.
Show answer
Answer: at least 2 people have the same friend-count
Show hints
Hint 1 of 4
This is the party problem again. The people are the objects; their friend-count is the label.
Still stuck? Show hint 2 →
Hint 2 of 4
Each person has at least 1 friend and at most 9 friends (everyone else). List the possible friend-counts.
Still stuck? Show hint 3 →
Hint 3 of 4
The counts are \(1, 2, \dots, 9\) — that's 9 possible values (boxes) for 10 people.
Show solution
Approach: Pigeonhole — 10 people, only 9 possible friend-counts
  1. Each of the 10 people has at least 1 friend and at most 9 friends (everyone else in town), so each person's friend-count is one of \(1, 2, 3, \dots, 9\) — 9 possible values.
  2. Make these 9 values the boxes and put each person into the box equal to their number of friends.
  3. With 10 people but only 9 boxes, some box holds at least 2 people.
  4. Those two people have the same number of friends.
Stretch · #17 How many whole numbers less than 1000 can be made if every digit must come from the set {3, 5, 6, 7, 9}? (Digits may repeat.)
How many whole numbers less than 1000 can be made if every digit must come from the set {3, 5, 6, 7, 9}? (Digits may repeat.)
Show answer
Answer: 155 numbers
Show hints
Hint 1 of 3
A number below 1000 has 1, 2, or 3 digits. These are separate cases — an OR (add) process.
Still stuck? Show hint 2 →
Hint 2 of 3
Within each case, choosing the digits is an AND (multiply) process. Repeats are allowed, so each digit slot has all 5 choices.
Still stuck? Show hint 3 →
Hint 3 of 3
1-digit: 5 numbers. 2-digit: \(5 \times 5\). 3-digit: \(5 \times 5 \times 5\). Add the three cases.
Show solution
Approach: OR over lengths, AND within each length
  1. A number under 1000 has 1, 2, or 3 digits — three separate cases (OR, so add). In each case every digit slot is freely chosen from the 5 allowed digits (AND, so multiply), and repeats are allowed.
  2. One digit: 5. Two digits: \(5 \times 5 = 25\). Three digits: \(5 \times 5 \times 5 = 125\).
  3. Add the cases: \(5 + 25 + 125 = 155\).
Stretch · #18 A state makes regular plates two ways. Old plates: 2 letters then a 2-digit number from 10 to 99. New plates: 2 letters then a 3-digit...
A state makes regular plates two ways. Old plates: 2 letters then a 2-digit number from 10 to 99. New plates: 2 letters then a 3-digit number from 100 to 999. How many regular plates are possible in all?
Show answer
Answer: 669,240 plates
Show hints
Hint 1 of 4
There are two separate plate formats (old and new). Adding the two counts is an OR process.
Still stuck? Show hint 2 →
Hint 2 of 4
Each format is built by an AND process. A 2-digit number 10-99 has 90 values; a 3-digit number 100-999 has 900 values.
Still stuck? Show hint 3 →
Hint 3 of 4
Old: \(26 \times 26 \times 90\) (two letters, then the 2-digit number). New: \(26 \times 26 \times 900\). Add the two.
Show solution
Approach: OR of two AND processes
  1. Two separate formats means an OR process (add), and each format is an AND process (multiply).
  2. Old plates: 2 letters then a number 10-99 (that's 90 values): \(26 \times 26 \times 90 = 676 \times 90 = 60840\).
  3. New plates: 2 letters then a number 100-999 (that's 900 values): \(26 \times 26 \times 900 = 676 \times 900 = 608400\).
  4. Add the two formats: \(60840 + 608400 = 669240\).
Stretch · #19 How many whole numbers less than 1000 can be made if every digit must come from a set of 8 different nonzero digits? (Digits may repeat.)
How many whole numbers less than 1000 can be made if every digit must come from a set of 8 different nonzero digits? (Digits may repeat.)
Show answer
Answer: 584 numbers
Show hints
Hint 1 of 3
Same idea as the {3,5,6,7,9} problem, but now there are 8 allowed digits and none of them is 0.
Still stuck? Show hint 2 →
Hint 2 of 3
Cases by length (1, 2, or 3 digits) are an OR process; each case is an AND process with 8 choices per slot.
Still stuck? Show hint 3 →
Hint 3 of 3
Add \(8 + 8^2 + 8^3\).
Show solution
Approach: OR over lengths, AND within each length
  1. Numbers under 1000 have 1, 2, or 3 digits (separate cases, OR), and each digit slot is freely chosen from the 8 nonzero digits (AND, repeats allowed; no leading-zero worry since 0 isn't allowed).
  2. Add: \(8 + 8^2 + 8^3 = 8 + 64 + 512 = 584\).
Stretch · #20 Color every square of a \(3 \times 9\) grid red or blue. Show that no matter how you color it, two of the columns end up colored exactly...
Color every square of a \(3 \times 9\) grid red or blue. Show that no matter how you color it, two of the columns end up colored exactly the same.
Show answer
Answer: two columns are colored identically
Show hints
Hint 1 of 4
A column is a stack of 3 squares, each red or blue. Treat each whole column as one object, and its 3-square color pattern as the label.
Still stuck? Show hint 2 →
Hint 2 of 4
How many different ways can you color a stack of 3 squares with 2 colors? Think \(2 \times 2 \times 2\).
Still stuck? Show hint 3 →
Hint 3 of 4
There are \(2^3 = 8\) possible column patterns — your 8 boxes. The grid has 9 columns.
Show solution
Approach: Pigeonhole on column patterns — 9 columns, \(2^3 = 8\) patterns
  1. Each column is a stack of 3 squares, each red or blue. The number of ways to color a stack of 3 with 2 colors is \(2 \times 2 \times 2 = 2^3 = 8\). Make these 8 patterns the boxes.
  2. The grid has 9 columns. Sort each column into the box for its pattern.
  3. Since \(9 > 8\), two columns share a pattern.
  4. That means two columns are colored exactly the same.
Stretch · #20 Find the number of plates for each rule: (a) 2 letters followed by a 2-digit number (10-99); (b) 2 letters then a 2-digit number, OR a...
Find the number of plates for each rule: (a) 2 letters followed by a 2-digit number (10-99); (b) 2 letters then a 2-digit number, OR a 2-digit number then 2 letters; (c) 3 characters, each of which can be any letter or any digit.
Show answer
Answer: (a) 60840; (b) 121680; (c) 46656
Show hints
Hint 1 of 3
A 2-digit number means 10-99, which is 90 values. A letter has 26 choices, a digit 10 choices, and a 'letter or digit' slot has 36 choices.
Still stuck? Show hint 2 →
Hint 2 of 3
(a) is one AND process. (b) is two formats that don't overlap (OR of two ANDs). (c) lets each of 3 slots be any of 36 symbols.
Still stuck? Show hint 3 →
Hint 3 of 3
(a): \(26 \times 26 \times 90\). (b): add the two arrangements (each equal to part (a)). (c): \(36 \times 36 \times 36\).
Show solution
Approach: AND, OR-of-ANDs, and the 36-symbol slot
  1. A '2-digit number' means 10-99, which is 90 values. A letter slot has 26 choices, a digit slot 10, and a 'letter or digit' slot \(26 + 10 = 36\).
  2. (a) 2 letters then a 2-digit number (AND): \(26 \times 26 \times 90 = 60840\).
  3. (b) That format OR the reverse (two non-overlapping formats; each equals part (a)): \(60840 + 60840 = 121680\).
  4. (c) 3 characters, each a letter or digit (AND): \(36 \times 36 \times 36 = 46656\).
Stretch · #21 A state allows plates that are 2 letters followed by 2 digits, OR 2 digits followed by 2 letters. Each digit slot may be 0-9. How many...
A state allows plates that are 2 letters followed by 2 digits, OR 2 digits followed by 2 letters. Each digit slot may be 0-9. How many plates are possible?
Show answer
Answer: 135,200 plates
Show hints
Hint 1 of 3
Two arrangements that don't overlap: letters-first and digits-first. That's an OR process (add).
Still stuck? Show hint 2 →
Hint 2 of 3
Each arrangement is an AND process. A digit slot here allows 0-9, so 10 choices each.
Still stuck? Show hint 3 →
Hint 3 of 3
Each format is \(26 \times 26 \times 10 \times 10\). Add the two.
Show solution
Approach: OR of two AND processes
  1. Two non-overlapping formats (OR, add), each an AND process. A digit slot ranges 0-9 (10 choices).
  2. Letters then digits: \(26 \times 26 \times 10 \times 10 = 67600\). Digits then letters: \(10 \times 10 \times 26 \times 26 = 67600\).
  3. Add: \(67600 + 67600 = 135200\).
Stretch · #24 A committee of at least 2 people is to be formed from 5 people. How many different committees are possible?
A committee of at least 2 people is to be formed from 5 people. How many different committees are possible?
Show answer
Answer: 26 committees
Show hints
Hint 1 of 3
A committee is just a subset of the 5 people. Start from all subsets, \(2^5\).
Still stuck? Show hint 2 →
Hint 2 of 3
'At least 2' throws out the empty committee and every one-person committee. Count those forbidden ones.
Still stuck? Show hint 3 →
Hint 3 of 3
Subtract the empty committee (1) and the singletons (5 of them) from \(2^5\).
Show solution
Approach: Complementary counting — subtract the too-small committees
  1. A committee is a subset of the 5 people, so there are \(2^5 = 32\) subsets in all (each person in or out).
  2. 'At least 2' forbids the empty committee and the 1-person committees. Empty committee: 1. One-person committees: 5.
  3. Subtract: \(32 - 1 - 5 = 26\).
Stretch · #25 A radio station's call sign has 3 letters. The first letter must be W or K, and the other two letters can be anything (A-Z). How many...
A radio station's call sign has 3 letters. The first letter must be W or K, and the other two letters can be anything (A-Z). How many different call signs are possible?
Show answer
Answer: 1352 call signs
Show hints
Hint 1 of 3
The first letter is W or K — that's 2 choices.
Still stuck? Show hint 2 →
Hint 2 of 3
Once the first letter is set, the next two letters are free, with 26 choices each. That's an AND process.
Still stuck? Show hint 3 →
Hint 3 of 3
Multiply \(2 \times 26 \times 26\).
Show solution
Approach: AND process with a restricted first slot
  1. The first letter is W or K (2 choices). The remaining two letters are unrestricted (26 each).
  2. It's all one AND process: \(2 \times 26 \times 26 = 2 \times 676 = 1352\).
Stretch · #27 An urn has 3 red marbles and 1 blue marble. Two marbles are drawn at random. Find the probability that both are red if (a) the first...
An urn has 3 red marbles and 1 blue marble. Two marbles are drawn at random. Find the probability that both are red if (a) the first marble is put back before the second draw; (b) the first marble is NOT put back.
Show answer
Answer: (a) 9/16; (b) 1/2
Show hints
Hint 1 of 4
Both draws happen, so this is an AND process. The key question: does the first draw change what's left for the second?
Still stuck? Show hint 2 →
Hint 2 of 4
With the marble put back, the second draw is just like the first (3 red out of 4). Multiply the two single-draw chances.
Still stuck? Show hint 3 →
Hint 3 of 4
Without putting it back, after pulling a red there are only 2 reds left out of 3 marbles. Multiply the changed chances.
Show solution
Approach: AND process for probabilities (with and without replacement)
  1. (a) With replacement (independent draws): each draw is red with probability \(\frac{3}{4}\), so \(\frac{3}{4} \times \frac{3}{4} = \frac{9}{16}\).
  2. (b) Without replacement: the first is red with probability \(\frac{3}{4}\); after removing one red, 2 reds remain among 3 marbles, so the second is red with probability \(\frac{2}{3}\).
  3. Multiply: \(\frac{3}{4} \times \frac{2}{3} = \frac{6}{12} = \frac{1}{2}\).
Stretch · #29 A die is rolled 3 times. Find the probability that a 2 shows up all 3 times.
A die is rolled 3 times. Find the probability that a 2 shows up all 3 times.
Show answer
Answer: 1/216
Show hints
Hint 1 of 3
Each roll is independent of the others — an AND process for probabilities.
Still stuck? Show hint 2 →
Hint 2 of 3
The chance of a 2 on one roll is \(1/6\). Multiply over the rolls.
Still stuck? Show hint 3 →
Hint 3 of 3
Compute \((1/6) \times (1/6) \times (1/6)\).
Show solution
Approach: AND process — multiply independent chances
  1. Each roll is independent, so multiply (AND process). The chance of a 2 each time is \(\frac{1}{6}\).
  2. So \(\left(\frac{1}{6}\right)^3 = \frac{1}{216}\).
Stretch · #30 A nickel and a dime are tossed at the same time. Find the probability that (a) both show heads; (b) both show tails; (c) one shows heads...
A nickel and a dime are tossed at the same time. Find the probability that (a) both show heads; (b) both show tails; (c) one shows heads and the other shows tails.
Show answer
Answer: (a) 1/4; (b) 1/4; (c) 1/2
Show hints
Hint 1 of 3
The two coins are independent, so 'and' results multiply (each coin is heads with probability \(1/2\)).
Still stuck? Show hint 2 →
Hint 2 of 3
(a) and (b) are single 'and' outcomes, each \((1/2)(1/2)\). (c) can happen two ways: nickel H and dime T, OR nickel T and dime H.
Still stuck? Show hint 3 →
Hint 3 of 3
(c): add the two ways, each \((1/2)(1/2)\).
Show solution
Approach: AND for each coin, OR across the two ways for part (c)
  1. Each coin is heads or tails with probability \(\frac{1}{2}\), and the coins are independent, so multiply for 'and'.
  2. (a) Both heads: \(\frac{1}{2} \times \frac{1}{2} = \frac{1}{4}\). (b) Both tails: \(\frac{1}{2} \times \frac{1}{2} = \frac{1}{4}\).
  3. (c) One head, one tail — two separate ways (OR, add): (nickel H, dime T) or (nickel T, dime H), so \(\frac{1}{4} + \frac{1}{4} = \frac{1}{2}\).
Stretch · #31 Helen tosses a coin 6 times. Find the probability that she gets heads on the first 3 tosses and tails on the last 3 tosses (in that...
Helen tosses a coin 6 times. Find the probability that she gets heads on the first 3 tosses and tails on the last 3 tosses (in that exact order: H H H T T T).
Show answer
Answer: 1/64
Show hints
Hint 1 of 3
This asks for one exact sequence H H H T T T, not 'three of each in any order'. Each toss is independent.
Still stuck? Show hint 2 →
Hint 2 of 3
Multiply the chance of the required result on every one of the 6 tosses.
Still stuck? Show hint 3 →
Hint 3 of 3
Each toss has probability \(1/2\), so it's \((1/2)\) multiplied 6 times.
Show solution
Approach: AND process for one specific sequence
  1. An exact order H H H T T T is required. Each toss is independent with probability \(\frac{1}{2}\), so multiply (AND process).
  2. So \(\left(\frac{1}{2}\right)^6 = \frac{1}{64}\). Because we want one specific order, there is no 'choosing' step — just the single product.
Stretch · #32 The numbers 7, 8, 11, 12, and 15 are written on 5 slips of paper and mixed in a hat. Two slips are picked (without replacement). Find...
The numbers 7, 8, 11, 12, and 15 are written on 5 slips of paper and mixed in a hat. Two slips are picked (without replacement). Find the probability that the sum of the two numbers is odd.
Show answer
Answer: 3/5
Show hints
Hint 1 of 4
A sum is odd exactly when one number is odd and the other is even. Sort the five numbers into odds and evens.
Still stuck? Show hint 2 →
Hint 2 of 4
Count how many are odd and how many are even. An odd sum needs exactly one of each.
Still stuck? Show hint 3 →
Hint 3 of 4
Favorable pairs = (number of odds) x (number of evens). Total pairs = number of ways to pick 2 of 5.
Show solution
Approach: Count favorable pairs over total pairs
  1. A sum is odd only when one number is odd and the other is even. Among {7, 8, 11, 12, 15}, the odds are 7, 11, 15 (three) and the evens are 8, 12 (two).
  2. Favorable pairs (one odd, one even): \(3 \times 2 = 6\). Total ways to pick 2 of 5 slips: 10.
  3. So \(P(\text{odd sum}) = \frac{6}{10} = \frac{3}{5}\).
Stretch · #33 A box has 7 marbles: 3 red and 4 blue. Two are drawn one after another. Find the probability both are red if (a) the first is put back...
A box has 7 marbles: 3 red and 4 blue. Two are drawn one after another. Find the probability both are red if (a) the first is put back before the second draw; (b) the first is not put back.
Show answer
Answer: (a) 9/49; (b) 1/7
Show hints
Hint 1 of 3
Two draws form an AND process. Ask whether the first draw changes the box for the second.
Still stuck? Show hint 2 →
Hint 2 of 3
With replacement the chance stays \(3/7\) each draw; without replacement, after one red is gone there are 2 reds left out of 6.
Still stuck? Show hint 3 →
Hint 3 of 3
(a) \((3/7) \times (3/7)\). (b) \((3/7) \times (2/6)\).
Show solution
Approach: AND process (with and without replacement)
  1. (a) With replacement (independent): each draw is red with probability \(\frac{3}{7}\), so \(\frac{3}{7} \times \frac{3}{7} = \frac{9}{49}\).
  2. (b) Without replacement (dependent): after one red is removed, 2 reds remain among 6 marbles, so \(\frac{3}{7} \times \frac{2}{6} = \frac{3}{7} \times \frac{1}{3} = \frac{1}{7}\).
Stretch · #34 Roz bought 12 cups of yogurt, but 4 of them are spoiled. She grabs 3 cups at random, one after another. Find the probability that all 3...
Roz bought 12 cups of yogurt, but 4 of them are spoiled. She grabs 3 cups at random, one after another. Find the probability that all 3 she grabs are spoiled.
Show answer
Answer: 1/55
Show hints
Hint 1 of 3
Grabbing cups one after another (without putting any back) is an AND process with changing counts.
Still stuck? Show hint 2 →
Hint 2 of 3
Track how many spoiled cups and how many total cups are left at each grab.
Still stuck? Show hint 3 →
Hint 3 of 3
Multiply \((4/12) \times (3/11) \times (2/10)\).
Show solution
Approach: AND process without replacement
  1. Grab three cups in a row (none put back); the spoiled count and the total both drop each time.
  2. Multiply: \(\frac{4}{12} \times \frac{3}{11} \times \frac{2}{10} = \frac{24}{1320} = \frac{1}{55}\).
Stretch · #35 Blake thinks his chance of getting into college A is 0.75 and into college B is 0.5. He multiplies to claim the chance of getting into...
Blake thinks his chance of getting into college A is 0.75 and into college B is 0.5. He multiplies to claim the chance of getting into BOTH is 0.375. Explain why his reasoning might not be right.
Show answer
Answer: Multiplying assumes independence, which is doubtful here
Show hints
Hint 1 of 3
Multiplying \(P(A) \times P(B)\) for 'A and B' only works under one special condition.
Still stuck? Show hint 2 →
Hint 2 of 3
What has to be true about the two events for multiplying to be valid?
Still stuck? Show hint 3 →
Hint 3 of 3
Think about whether getting into one college is really unrelated to getting into the other (his grades, scores, and essays affect both).
Show solution
Approach: Multiplying probabilities requires independence
  1. Multiplying two probabilities to get 'both happen' only works when the two events are INDEPENDENT — one happening has no effect on the chance of the other.
  2. Blake's arithmetic (\(0.75 \times 0.5 = 0.375\)) is fine, but the multiplication itself is only allowed if the two acceptances are independent.
  3. In real life they probably are NOT: the same grades, test scores, and essays affect both colleges. A strong applicant tends to get into both, a weaker one tends to be rejected by both.
  4. So the events are linked, and the true chance of 'both' is likely higher than 0.375. His reasoning isn't justified unless the events are independent, which is doubtful here.
Stretch · #43 A family has 4 children, each equally likely to be a girl or a boy. Find the probability that (a) exactly 3 are girls; (b) none are...
A family has 4 children, each equally likely to be a girl or a boy. Find the probability that (a) exactly 3 are girls; (b) none are girls; (c) at least 2 are girls.
Show answer
Answer: (a) 1/4; (b) 1/16; (c) 11/16
Show hints
Hint 1 of 3
There are \(2^4 = 16\) equally likely boy/girl sequences for the 4 children.
Still stuck? Show hint 2 →
Hint 2 of 3
For each part, count how many of the 16 sequences fit, then divide by 16.
Still stuck? Show hint 3 →
Hint 3 of 3
(a) choose which 3 of 4 are girls: 4 ways. (b) all boys: 1 way. (c) 'at least 2 girls' means 2, 3, or 4 girls: count \(6 + 4 + 1\).
Show solution
Approach: Favorable sequences over 16 equally likely sequences
  1. There are \(2^4 = 16\) equally likely sequences for the 4 children.
  2. (a) Exactly 3 girls: 4 ways to pick which 3 are girls, so \(\frac{4}{16} = \frac{1}{4}\).
  3. (b) No girls (all boys): just 1 sequence, so \(\frac{1}{16}\).
  4. (c) At least 2 girls means 2, 3, or 4 girls: counts \(6 + 4 + 1 = 11\), so \(\frac{11}{16}\).
Stretch · #3 Imagine a tiny 'year' with only 5 days, and a group of 3 people who each have a birthday on a random one of those 5 days. What is the...
Imagine a tiny 'year' with only 5 days, and a group of 3 people who each have a birthday on a random one of those 5 days. What is the probability that at least two of them share a birthday? (This is the same idea as the famous '30 students, 365 days' birthday problem, just with small numbers you can actually compute.)
Show answer
Answer: \(P(\text{shared})=1-0.48=0.52\)
Show hints
Hint 1 of 4
Finding 'at least two share' directly is messy (there are several ways it could happen). Ask the EASIER opposite question first: what is the probability that all 3 birthdays are different?
Still stuck? Show hint 2 →
Hint 2 of 4
Line the people up. Person 1 can be born on any day. Person 2 must avoid person 1's day. Person 3 must avoid both used days.
Still stuck? Show hint 3 →
Hint 3 of 4
All different: \(\frac{5}{5}\times\frac{4}{5}\times\frac{3}{5}\). (Each new person has fewer 'free' days.)
Show solution
Approach: Complementary counting — find P(all different) and subtract from 1
  1. Computing 'at least two share' head-on is messy, so ask the easier opposite question: what is the chance all 3 birthdays are different? Then subtract from 1.
  2. Line the people up. Person 1: any of the 5 days works, \(\frac{5}{5}\). Person 2: must avoid person 1's day, so 4 of 5 are safe, \(\frac{4}{5}\). Person 3: must avoid both used days, so 3 of 5 are safe, \(\frac{3}{5}\).
  3. Multiply: \(P(\text{all different})=\frac{5}{5}\times\frac{4}{5}\times\frac{3}{5}=\frac{60}{125}=\frac{12}{25}=0.48\).
  4. Since 'all different' and 'at least one shared' are opposite events that together are certain, \(P(\text{at least two share})=1-0.48=0.52\). Even with only 3 people a shared birthday is slightly more likely than not — the same reason the real 30-people, 365-day problem comes out to about 70%.
Stretch · #3 On graph paper, mark any 5 points that sit exactly on grid corners (their \(x\) and \(y\) coordinates are whole numbers). Show that 2 of...
On graph paper, mark any 5 points that sit exactly on grid corners (their \(x\) and \(y\) coordinates are whole numbers). Show that 2 of your points have a midpoint that also sits exactly on a grid corner. Reminder: the midpoint of \((x_1,y_1)\) and \((x_2,y_2)\) is \(\left(\dfrac{x_1+x_2}{2},\dfrac{y_1+y_2}{2}\right)\); it lands on a grid corner exactly when \(x_1+x_2\) is even AND \(y_1+y_2\) is even.
Show answer
Answer: 2 points share a parity type
Show hints
Hint 1 of 4
When is the average of two whole numbers a whole number? Only when the two numbers are both even or both odd (same 'parity').
Still stuck? Show hint 2 →
Hint 2 of 4
So for each point, all that matters is whether its \(x\) is even or odd, and whether its \(y\) is even or odd. List the possible (even/odd, even/odd) types.
Still stuck? Show hint 3 →
Hint 3 of 4
There are exactly 4 types: (even,even), (even,odd), (odd,even), (odd,odd). Make these your 4 boxes.
Show solution
Approach: Pigeonhole on parity types — 5 points, 4 (even/odd, even/odd) classes
  1. The midpoint is a grid corner exactly when \(x_1+x_2\) and \(y_1+y_2\) are both even, which happens only when each pair of coordinates has the same parity. So all that matters is the even/odd status of each point's two coordinates.
  2. Each point falls into one of 4 parity types (our boxes): (even,even), (even,odd), (odd,even), (odd,odd).
  3. Drop your 5 points into these 4 boxes. Since \(5 > 4\), some box holds 2 points.
  4. Those two points match in both coordinates' parity, so \(x_1+x_2\) and \(y_1+y_2\) are both even — the midpoint lands right on a grid corner.
Stretch · #4 You have 3 cards. Card A is red on both sides. Card B is blue on both sides. Card C is red on one side, blue on the other. You shuffle...
You have 3 cards. Card A is red on both sides. Card B is blue on both sides. Card C is red on one side, blue on the other. You shuffle them in a bag, pull one out, and lay it down. The side facing up is RED. What is the probability that the hidden side (the bottom) is also red?
Show answer
Answer: \(\frac{2}{3}\)
Show hints
Hint 1 of 4
The tempting wrong answer is \(\frac{1}{2}\) ('it's either the red-red card or the red-blue card, 50-50'). But that ignores something. Count SIDES, not cards.
Still stuck? Show hint 2 →
Hint 2 of 4
Make a list of every individual face that could be the red one facing up. The red-red card has TWO red faces; the red-blue card has only ONE. So red faces aren't all on the same kind of card.
Still stuck? Show hint 3 →
Hint 3 of 4
List the equally likely red faces that could be up, and write what's underneath each: (A-side1 / A-side2 red), (A-side2 / A-side1 red), (C-red / C-blue).
Show solution
Approach: Accounting for all possibilities — count faces, not cards
  1. The trap answer is \(\frac{1}{2}\): 'the card is either A (red-red) or C (red-blue), so 50-50.' That's wrong because it counts cards, but the right thing to count is faces.
  2. There are three red faces in the whole set: Card A side 1 (other side red), Card A side 2 (other side red), and Card C red side (other side blue).
  3. Seeing red means one of these three equally likely red faces is up. In 2 of those 3 cases (both faces of card A), the hidden side is also red; in only 1 case (card C) is it blue.
  4. So \(P(\text{other side is red})=\frac{2}{3}\). The key move: condition on what you actually saw (a red face) and count faces, not cards.
Stretch · #4 Now do the same idea in 3-D space. Mark any 9 points whose coordinates \((x,y,z)\) are all whole numbers. Show that 2 of them have a...
Now do the same idea in 3-D space. Mark any 9 points whose coordinates \((x,y,z)\) are all whole numbers. Show that 2 of them have a midpoint with all whole-number coordinates.
Show answer
Answer: 2 points share a parity pattern
Show hints
Hint 1 of 4
Use the same trick as the flat (2-D) version, but now there are three coordinates, each even or odd.
Still stuck? Show hint 2 →
Hint 2 of 4
Count the even/odd patterns for a triple \((x,y,z)\): each of the 3 spots is even or odd, so multiply \(2\times2\times2\).
Still stuck? Show hint 3 →
Hint 3 of 4
That's 8 patterns — your 8 boxes. You have 9 points.
Show solution
Approach: Pigeonhole on 3-D parity patterns — 9 points, \(2^3 = 8\) classes
  1. As in the flat version, the only thing that matters about a point is whether each coordinate is even or odd. With three coordinates each even or odd, the number of patterns is \(2\times2\times2 = 8\).
  2. Make these 8 patterns your boxes and drop the 9 points in. Since \(9 > 8\), two points land in the same box.
  3. They match in even/odd for \(x\), for \(y\), and for \(z\), so \(x_1+x_2\), \(y_1+y_2\), and \(z_1+z_2\) are all even.
  4. Dividing each by 2 gives whole numbers, so the midpoint has all whole-number coordinates.
Stretch · #6 A club has 4 married couples (8 people total). A 3-person committee is chosen, but a husband and wife may NOT both be on it. How many...
A club has 4 married couples (8 people total). A 3-person committee is chosen, but a husband and wife may NOT both be on it. How many committees are possible?
Show answer
Answer: 32 committees
Show hints
Hint 1 of 4
Since no two members can be a married pair, the 3 members must come from 3 DIFFERENT couples.
Still stuck? Show hint 2 →
Hint 2 of 4
Step 1: choose which 3 of the 4 couples will be represented. Step 2: from each chosen couple, pick the one person who serves (2 ways each).
Still stuck? Show hint 3 →
Hint 3 of 4
Choosing 3 couples out of 4 can be done in 4 ways (you leave out 1 couple). Then \(2 \times 2 \times 2\) for the one person from each. Multiply.
Show solution
Approach: Build in steps — choose the couples, then a person from each
  1. No two members can be spouses, so the 3 members come from 3 different couples. Build the committee in steps.
  2. Step 1: pick the 3 couples to be represented. With 4 couples, choosing 3 is the same as choosing the 1 couple to leave out, so there are 4 ways.
  3. Step 2: from each of the 3 chosen couples, pick which spouse serves — 2 ways each.
  4. Multiply: \(4 \times (2 \times 2 \times 2) = 4 \times 8 = 32\). There are 32 possible committees.
Stretch · #7 A key blank has 4 positions where metal can be left alone or cut. At each position you may leave it alone OR cut it at one of 3...
A key blank has 4 positions where metal can be left alone or cut. At each position you may leave it alone OR cut it at one of 3 different depths. How many different keys can be made if at least one position must be cut?
Show answer
Answer: 255 keys
Show hints
Hint 1 of 4
Handle each position as its own step in an AND process.
Still stuck? Show hint 2 →
Hint 2 of 4
At one position you can: leave it alone, or cut at depth 1, or depth 2, or depth 3. How many outcomes is that for one position?
Still stuck? Show hint 3 →
Hint 3 of 4
Each position has 1 (leave alone) + 3 (depths) = 4 outcomes. There are 4 positions, so multiply 4 four times.
Show solution
Approach: AND process per position, then subtract the all-blank key
  1. Each of the 4 positions is a step. At a position you can leave the metal alone or cut at one of 3 depths, so \(1 + 3 = 4\) outcomes per position.
  2. Multiply over the 4 positions: \(4 \times 4 \times 4 \times 4 = 4^4 = 256\).
  3. This counts the key with no cuts at all. Since at least one position must be cut, remove that single key: \(256 - 1 = 255\).
Stretch · #9 A small lottery puts 10 balls numbered 1 to 10 in a bag, then draws 3 of them one at a time. To win, the 3 numbers drawn must match the...
A small lottery puts 10 balls numbered 1 to 10 in a bag, then draws 3 of them one at a time. To win, the 3 numbers drawn must match the 3 numbers you bet on (order doesn't matter). What is the probability you win? (Then think: is a big real lottery, like 'pick 6 numbers out of 50,' a good way to spend your money?)
Show answer
Answer: \(\frac{1}{120}\) (the small lottery); a real 'pick 6 of 50' lottery is about 1 in 16 million
Show hints
Hint 1 of 4
Draw the balls one at a time. What is the chance the first ball drawn is one of your 3 numbers, out of the 10 in the bag?
Still stuck? Show hint 2 →
Hint 2 of 4
1st ball: \(\frac{3}{10}\) chance it's one of yours. Then 9 balls remain and 2 of your numbers are left, so the 2nd ball: \(\frac{2}{9}\). Keep going.
Still stuck? Show hint 3 →
Hint 3 of 4
Multiply the three fractions: \(\frac{3}{10}\times\frac{2}{9}\times\frac{1}{8}\).
Show solution
Approach: Multiplication principle — multiply the shrinking match-fractions
  1. Draw the 3 balls one at a time, and each one must be one of your numbers that hasn't been matched yet.
  2. 1st ball is one of your 3 numbers, out of 10 balls: \(\frac{3}{10}\). 2nd ball is one of your remaining 2 numbers, out of the 9 left: \(\frac{2}{9}\). 3rd ball is your last number, out of the 8 left: \(\frac{1}{8}\).
  3. Multiply: \(\frac{3}{10}\times\frac{2}{9}\times\frac{1}{8}=\frac{6}{720}=\frac{1}{120}\). So even in this tiny lottery your chance is only 1 in 120.
  4. A real 'pick 6 of 50' lottery uses the same idea: \(\frac{6}{50}\times\frac{5}{49}\times\frac{4}{48}\times\frac{3}{47}\times\frac{2}{46}\times\frac{1}{45}\approx\frac{1}{15{,}900{,}000}\), about 1 in 16 million. The lesson: the lottery is a very poor investment.
Stretch · #9 A round table has 5 chairs, and a name card is taped to the table in front of each chair. Five friends sit down without looking, and it...
A round table has 5 chairs, and a name card is taped to the table in front of each chair. Five friends sit down without looking, and it turns out nobody is in front of their own card. Show that you can spin the table to a new position where at least 2 friends end up in front of their own cards.
Show answer
Answer: some spin makes at least 2 friends correct
Show hints
Hint 1 of 4
Spinning the table one chair at a time moves every card forward one seat. There are 4 'new' spin positions (after 1, 2, 3, or 4 clicks); the starting position has nobody correct.
Still stuck? Show hint 2 →
Hint 2 of 4
Pick one friend. As the table makes its 4 clicks, that friend's own card passes by their seat exactly once. So exactly one spin position is 'correct' for that friend.
Still stuck? Show hint 3 →
Hint 3 of 4
Every friend has exactly one correct spin position among the 4. Make the 4 spin positions your boxes, and assign each friend to their correct one.
Show solution
Approach: Pigeonhole — 5 friends share only 4 nonzero spin positions
  1. Spin the table one click at a time. There are 4 'new' positions (1, 2, 3, or 4 clicks); the no-spin start has nobody correct, by assumption.
  2. Focus on one friend. As the cards parade past that friend's seat over the 4 clicks, the friend's own card lines up with the seat exactly once (not at the start, so during one of the 4 clicks). So each friend has exactly one correct spin position.
  3. Make the 4 spin positions our boxes and put each of the 5 friends into the box for their one correct spin. Since \(5 > 4\), two friends land in the same box.
  4. At that single spin position, both of those friends sit in front of their own cards — so some spin makes at least \(2\) friends correct.
Stretch · #10 Two evenly matched teams play a best-of-seven series (first to win \(4\) games wins). Each game is a coin flip. The chance the series...
Two evenly matched teams play a best-of-seven series (first to win \(4\) games wins). Each game is a coin flip. The chance the series lasts exactly \(7\) games is \(\frac{5}{16}\); the chance it lasts exactly \(6\) games is also \(\frac{5}{16}\). What is the probability the series lasts exactly \(7\) games? Give your answer as a fraction.
Show answer
Answer: 5/16
Show hints
Hint 1 of 4
Imagine the teams stubbornly play all \(7\) games even after the series is decided. There are \(2^7 = 128\) equally likely win/loss patterns.
Still stuck? Show hint 2 →
Hint 2 of 4
For the series to last exactly \(7\) games, the teams must be tied \(3\)-\(3\) after \(6\) games, then someone wins game \(7\). Count the ways to be tied \(3\)-\(3\).
Still stuck? Show hint 3 →
Hint 3 of 4
To be tied \(3\)-\(3\) after \(6\) games, pick which \(3\) of the \(6\) games team A won: that is \(\binom{6}{3} = 20\) ways. Game \(7\) can go either way, so \(20 \times 2 = 40\) full \(7\)-game outcomes out of \(128\).
Show solution
Approach: Count equally likely full-length patterns (visual representation of all cases)
  1. Imagine the teams play all \(7\) games no matter what; there are \(2^7 = 128\) equally likely win/loss patterns, and each probability is (count)\(/128\).
  2. The series reaches \(7\) games only if it is tied \(3\)-\(3\) after \(6\) games. The number of ways for team A to win exactly \(3\) of the first \(6\) is \(\binom{6}{3} = 20\), and game \(7\) can go either way, giving \(20 \times 2 = 40\) patterns.
  3. So \(P(7) = \frac{40}{128} = \frac{5}{16}\). (For the others: \(P(4) = \frac{2}{16}\), \(P(5) = \frac{4}{16}\), \(P(6) = \frac{5}{16}\), summing to \(1\).)
  4. A \(6\)-game and a \(7\)-game series are equally likely (\(\frac{5}{16}\) each): once the score is \(3\)-\(2\) after \(5\) games, game \(6\) either ends it or forces a game \(7\), each with probability \(\frac{1}{2}\).
Stretch · #10 Color every square of a \(3 \times 9\) grid either black or white, any way you like. Show that you can always find a rectangle (using 2...
Color every square of a \(3 \times 9\) grid either black or white, any way you like. Show that you can always find a rectangle (using 2 of the rows and 2 of the columns) whose 4 corner squares are all the same color.
Show answer
Answer: a same-color-corner rectangle always exists
Show hints
Hint 1 of 4
A rectangle's 4 corners live in 2 columns and 2 rows. Try looking at the grid one column at a time — what can you always say about a single column of 3 squares in 2 colors?
Still stuck? Show hint 2 →
Hint 2 of 4
How many 'features' are possible? Choose 2 of the 3 rows (there are 3 ways: rows 1&2, 1&3, 2&3) and a color (2 ways). That's \(3 \times 2 = 6\) features — your boxes.
Still stuck? Show hint 3 →
Hint 3 of 4
You have 9 columns, each giving a feature, but only 6 feature-boxes.
Show solution
Approach: Pigeonhole on (row-pair, color) features — 9 columns, 6 features
  1. Look at any single column: 3 squares in 2 colors, so by pigeonhole at least 2 of its squares share a color. For each column record a 'feature': which two rows match, and what color they share.
  2. How many features are possible? 3 ways to pick the matched row-pair (1&2, 1&3, or 2&3) times 2 color choices, so \(3 \times 2 = 6\) features. Make these 6 features the boxes.
  3. The grid has 9 columns, each giving one feature, but only 6 boxes. Since \(9 > 6\), two columns share a feature.
  4. That means the same two rows have the same color in both columns — those 4 squares are the corners of a rectangle, all one color.
Stretch · #12 Flip a fair coin \(4\) times. The chances of getting exactly \(0, 1, 2, 3, 4\) heads come from the counts \(1, 4, 6, 4, 1\) out of...
Flip a fair coin \(4\) times. The chances of getting exactly \(0, 1, 2, 3, 4\) heads come from the counts \(1, 4, 6, 4, 1\) out of \(16\). What is the most likely number of heads?
Show answer
Answer: 2 heads (probability 6/16 = 3/8)
Show hints
Hint 1 of 4
Every sequence of H's and T's in \(4\) flips is equally likely. How many sequences are there in total? (\(2 \times 2 \times 2 \times 2\).)
Still stuck? Show hint 2 →
Hint 2 of 4
The chance of exactly \(k\) heads is (number of sequences with \(k\) heads) divided by the total. So you need to count sequences for each \(k\).
Still stuck? Show hint 3 →
Hint 3 of 4
Use the numbers from Pascal's triangle row for \(4\): \(1, 4, 6, 4, 1\). (There are \(6\) ways to place \(2\) heads among \(4\) flips, and so on.)
Show solution
Approach: Count sequences with Pascal's triangle; the distribution peaks in the middle
  1. Each set of \(4\) flips is one of \(2^4 = 16\) equally likely sequences, so \(P(k \text{ heads}) = \frac{\text{sequences with } k \text{ heads}}{16}\).
  2. The counts come from Pascal's triangle (row 4): \(1, 4, 6, 4, 1\), giving probabilities \(\frac{1}{16}, \frac{4}{16}, \frac{6}{16}, \frac{4}{16}, \frac{1}{16}\).
  3. Check the total: \(1 + 4 + 6 + 4 + 1 = 16\), so the probabilities add to \(\frac{16}{16} = 1\).
  4. The largest count is \(6\), at \(k = 2\). So the most likely outcome is exactly \(2\) heads, with probability \(\frac{6}{16} = \frac{3}{8}\).
Stretch · #13 There are 3 different math books and 2 different art books, all different. Roslyn will choose some of them. How many selections can she...
There are 3 different math books and 2 different art books, all different. Roslyn will choose some of them. How many selections can she make if (a) she takes at least one book; (b) she must include at least one math book?
Show answer
Answer: (a) 31; (b) 28
Show hints
Hint 1 of 4
All 5 books are different, so a selection is just a subset: each book is in or out. Start from \(2^5\).
Still stuck? Show hint 2 →
Hint 2 of 4
For 'at least one book', remove only the empty selection.
Still stuck? Show hint 3 →
Hint 3 of 4
For 'at least one math book', it is easiest to handle the math books and the art books separately. Math books: how many ways to pick 'at least one' of the 3? Art books: free to pick any.
Show solution
Approach: Subsets; subtract the empty case, and split into groups for part (b)
  1. All 5 books are different, so a selection is a subset; each book is in or out, giving \(2^5 = 32\) subsets in all.
  2. (a) At least one book: remove the empty selection, so \(2^5 - 1 = 31\).
  3. (b) At least one math book: split into the 3 math books and the 2 art books. Math must include at least one, so \(2^3 - 1 = 7\). Art is free, so \(2^2 = 4\).
  4. Multiply (AND process): \(7 \times 4 = 28\).
Stretch · #14 In how many ways can a triangle be named using 3 different letters of the 26-letter alphabet? (The same triangle can be read starting at...
In how many ways can a triangle be named using 3 different letters of the 26-letter alphabet? (The same triangle can be read starting at any of its 3 corners and in either direction, so different readings of the same triangle should NOT be counted as different.)
Show answer
Answer: 2600 triangles
Show hints
Hint 1 of 4
First count ORDERED lists of 3 different letters (an AND process: 26 then 25 then 24). Then fix the over-count.
Still stuck? Show hint 2 →
Hint 2 of 4
The triangle named ABC is the same triangle as BCA, CAB (different starting corners) and also as the reverse readings ACB, CBA, BAC.
Still stuck? Show hint 3 →
Hint 3 of 4
Each triangle gets counted 6 times: 3 starting corners times 2 directions. So divide the ordered count by 6.
Show solution
Approach: Count ordered lists, then divide out the repeats
  1. A triangle's name lists its 3 corners, but the SAME triangle can start at any of the 3 corners and go either of 2 directions. So first count ordered lists, then divide out these repeats.
  2. Ordered lists of 3 different letters: \(26 \times 25 \times 24 = 15600\).
  3. Each triangle is named \(3 \times 2 = 6\) different ways, so divide: \(\dfrac{15600}{6} = 2600\).
  4. (This is the same as 'just choose which 3 letters', since once you pick 3 corners there is only one triangle.)
Stretch · #16 Brenda will borrow either 2 or 3 books from a stack of 5 books. In how many ways can she make her selection?
Brenda will borrow either 2 or 3 books from a stack of 5 books. In how many ways can she make her selection?
Show answer
Answer: 20 ways
Show hints
Hint 1 of 4
The word 'or' is the clue. She borrows exactly 2 OR exactly 3 — she can't do both at once, so this is an OR (add) process.
Still stuck? Show hint 2 →
Hint 2 of 4
Count the ways to pick exactly 2 of the 5 books, then separately the ways to pick exactly 3.
Still stuck? Show hint 3 →
Hint 3 of 4
Ways to pick 2 of 5: list them or use 'choose 2'. Ways to pick 3 of 5 is the same as choosing which 2 to leave out. Add the two counts.
Show solution
Approach: OR process — add the two non-overlapping cases
  1. This is an OR process: she takes exactly 2 OR exactly 3 books, and these can't happen together.
  2. Ways to choose 2 of 5 books: there are 10 (you can list the pairs).
  3. Ways to choose 3 of 5 books: choosing 3 to take is the same as choosing the 2 to leave behind, so this is also 10.
  4. The two cases don't overlap, so add: \(10 + 10 = 20\).
Stretch · #22 A state uses plates of 3 letters followed by 3 digits, and every possible plate is already used. To make more plates cheaply, it will...
A state uses plates of 3 letters followed by 3 digits, and every possible plate is already used. To make more plates cheaply, it will add ONE more character slot. Should the new slot be a letter or a digit to create the most new plates? Explain.
Show answer
Answer: Add a letter (26 choices)
Show hints
Hint 1 of 3
Adding one slot multiplies the number of plates by however many choices that slot has. So you want the slot with the most choices.
Still stuck? Show hint 2 →
Hint 2 of 3
A letter slot has 26 choices; a digit slot has only 10. Which multiplies your plates more?
Still stuck? Show hint 3 →
Hint 3 of 3
Compare multiplying by 26 versus multiplying by 10.
Show solution
Approach: Adding a slot multiplies by the slot's choice count
  1. Adding one extra slot multiplies the number of plates by the number of symbols that slot allows. So to make the MOST new plates, choose the slot with the most options.
  2. A letter offers 26 choices; a digit offers only 10. Since 26 is bigger than 10, adding a LETTER slot makes far more plates.
  3. The old pool was \(26^3 \times 10^3 = 17{,}576{,}000\) plates. A letter multiplies by 26, giving \(456{,}976{,}000\); a digit would only multiply by 10, giving \(175{,}760{,}000\). So add a letter.
Stretch · #23 How many different selections of at least one book can Erica make from 4 different books? (a) Solve it with an AND process. (b) Solve it...
How many different selections of at least one book can Erica make from 4 different books? (a) Solve it with an AND process. (b) Solve it with an OR process. Which way was easier?
Show answer
Answer: 15 selections (AND is easier)
Show hints
Hint 1 of 4
AND view: each of the 4 different books is independently in or out.
Still stuck? Show hint 2 →
Hint 2 of 4
OR view: split by how many books she takes — exactly 1, exactly 2, exactly 3, or exactly 4 — and add the counts.
Still stuck? Show hint 3 →
Hint 3 of 4
AND gives \(2^4\) minus the empty set. OR gives (ways to pick 1) + (pick 2) + (pick 3) + (pick 4). Both should match.
Show solution
Approach: Two ways to count the same total
  1. (a) AND process: each of the 4 different books is in or out — a 4-step AND process giving \(2^4 = 16\) subsets. 'At least one' removes the empty set: \(2^4 - 1 = 15\).
  2. (b) OR process: split by how many books she takes and add: \(4 + 6 + 4 + 1 = 15\) (pick 1, pick 2, pick 3, pick 4).
  3. Both give 15. The AND process is much easier — one quick power of 2 minus 1, instead of adding four separate counts.
Stretch · #26 A tattoo shop offers 6 different designs. No one gets the same design twice. (a) Bob may get any number of them, even none. How many...
A tattoo shop offers 6 different designs. No one gets the same design twice. (a) Bob may get any number of them, even none. How many different sets of tattoos could Bob have? (b) Suppose Bob definitely got the eagle design. Now how many different sets are possible?
Show answer
Answer: (a) 64; (b) 32
Show hints
Hint 1 of 4
Since no design repeats, a set of tattoos is just a subset of the 6 designs — each design is in or out.
Still stuck? Show hint 2 →
Hint 2 of 4
(a) Any number, even none, means count ALL subsets: \(2^6\).
Still stuck? Show hint 3 →
Hint 3 of 4
(b) If the eagle is definitely in, it is no longer a choice. Only the other 5 designs are still in-or-out.
Show solution
Approach: Subsets; fix an element for part (b)
  1. Since no design is repeated, a set of tattoos is a subset of the 6 designs.
  2. (a) Any number, even none: each design is in or out (AND process), so \(2^6 = 64\).
  3. (b) The eagle is definitely in, so that design is fixed and only the other 5 are still free choices: \(2^5 = 32\).
Stretch · #28 Maile pulls one card at random from a standard 52-card deck. (a) What is the probability it is a seven or an ace? (b) What is the...
Maile pulls one card at random from a standard 52-card deck. (a) What is the probability it is a seven or an ace? (b) What is the probability it is a seven or a red card?
Show answer
Answer: (a) 2/13; (b) 7/13
Show hints
Hint 1 of 3
First ask: can the two things happen at the same time on one card?
Still stuck? Show hint 2 →
Hint 2 of 3
A card can't be both a seven and an ace, so just add those chances. But a card CAN be both a seven and red (like the seven of hearts).
Still stuck? Show hint 3 →
Hint 3 of 3
(a) Add \(4/52 + 4/52\). (b) Add the sevens and the reds, then subtract the red sevens you counted twice.
Show solution
Approach: OR process — add, subtracting any overlap
  1. (a) Seven or ace: no card is both, so the chances simply add. There are 4 sevens and 4 aces: \(\frac{4}{52} + \frac{4}{52} = \frac{8}{52} = \frac{2}{13}\).
  2. (b) Seven or red: there are 4 sevens and 26 red cards, but the seven of hearts and seven of diamonds got counted in BOTH groups. Subtract those 2 once: \(\frac{4}{52} + \frac{26}{52} - \frac{2}{52} = \frac{28}{52} = \frac{7}{13}\).
  3. When two events can't overlap, just add; when they can overlap, subtract the part counted twice.
Stretch · #36 A die is rolled 5 times. Rolling a number less than 3 (a 1 or a 2) counts as a 'success'. What is the probability of getting exactly 3 successes?
A die is rolled 5 times. Rolling a number less than 3 (a 1 or a 2) counts as a 'success'. What is the probability of getting exactly 3 successes?
Lattice paths on a 3x2 grid (10 paths)startend10 staircase paths = 10 patterns
Show answer
Answer: 40/243
Show hints
Hint 1 of 4
First find the chance of a success on ONE roll: 'less than 3' means a 1 or a 2.
Still stuck? Show hint 2 →
Hint 2 of 4
Any one specific pattern with 3 successes and 2 failures (like S S S F F) has the same probability: multiply 3 success-chances and 2 failure-chances (AND process).
Still stuck? Show hint 3 →
Hint 3 of 4
Now count how many such patterns exist — that's choosing which 3 of the 5 rolls are the successes. There are 10 of them.
Show solution
Approach: Binomial probability — count the patterns, multiply by the per-pattern chance
  1. A success ('less than 3', a 1 or 2) has probability \(p = \frac{2}{6} = \frac{1}{3}\), and a failure has \(q = \frac{2}{3}\). Any single pattern with 3 successes and 2 failures has probability \(p^3 q^2\) (independent rolls, multiply).
  2. How many such patterns? That's the number of ways to pick which 3 of the 5 rolls are successes, which is 10. These patterns don't overlap, so add (OR) — i.e. multiply the count by the per-pattern chance.
  3. So \(10 \times \left(\frac{1}{3}\right)^3 \left(\frac{2}{3}\right)^2 = 10 \times \frac{1}{27} \times \frac{4}{9} = \frac{40}{243}\).
Stretch · #37 A die is rolled 5 times; rolling less than 3 (a 1 or 2) is a 'success'. What is the probability of getting exactly 3 OR exactly 4 successes?
A die is rolled 5 times; rolling less than 3 (a 1 or 2) is a 'success'. What is the probability of getting exactly 3 OR exactly 4 successes?
Show answer
Answer: 50/243
Show hints
Hint 1 of 3
'Exactly 3' and 'exactly 4' can't both happen, so it's an OR process — add their probabilities.
Still stuck? Show hint 2 →
Hint 2 of 3
You already found \(P(\text{exactly 3}) = 40/243\). Now find \(P(\text{exactly 4})\) the same way.
Still stuck? Show hint 3 →
Hint 3 of 3
Exactly 4: there are 5 patterns (which roll is the single failure), each with probability \(p^4 q\). So \(P(\text{exactly 4}) = 5 \times (1/3)^4 (2/3)\). Add it to \(40/243\).
Show solution
Approach: Binomial probability with an OR (add) over the cases
  1. 'Exactly 3' and 'exactly 4' successes can't both happen, so add (OR process), with \(p = \frac{1}{3}\) and \(q = \frac{2}{3}\).
  2. From the previous problem, \(P(\text{exactly }3) = \frac{40}{243}\).
  3. For exactly 4 successes there are 5 patterns (choose which single roll is the one failure), each worth \(p^4 q\): \(5 \times \left(\frac{1}{3}\right)^4 \times \frac{2}{3} = 5 \times \frac{1}{81} \times \frac{2}{3} = \frac{10}{243}\).
  4. Add the two cases: \(\frac{40}{243} + \frac{10}{243} = \frac{50}{243}\).
Stretch · #38 Deanna guesses on a 4-question multiple-choice quiz. Each question has 4 choices, so each guess is correct with probability...
Deanna guesses on a 4-question multiple-choice quiz. Each question has 4 choices, so each guess is correct with probability \(\tfrac{1}{4}\). You need at least 3 correct to pass. What is the probability she passes by guessing?
Show answer
Answer: 13/256 (about 0.05)
Show hints
Hint 1 of 4
Each question is a success (correct guess) with probability \(1/4\), or a failure with probability \(3/4\). Questions are independent.
Still stuck? Show hint 2 →
Hint 2 of 4
'At least 3 correct' out of 4 means exactly 3 OR exactly 4 — two separate cases to add (OR process).
Still stuck? Show hint 3 →
Hint 3 of 4
Exactly 4: only 1 pattern, \((1/4)^4\). Exactly 3: there are 4 patterns (which one is wrong), each \((1/4)^3 (3/4)\).
Show solution
Approach: Binomial probability — add the 'exactly 3' and 'exactly 4' cases
  1. Each guess is correct with probability \(p = \frac{1}{4}\) and wrong with \(q = \frac{3}{4}\). Passing needs at least 3 of 4 correct, so add 'exactly 3' and 'exactly 4' (OR). Use the common denominator \(4^4 = 256\).
  2. Exactly 4 correct (1 pattern): \(\left(\frac{1}{4}\right)^4 = \frac{1}{256}\).
  3. Exactly 3 correct (4 patterns — which question is wrong): \(4 \times \left(\frac{1}{4}\right)^3 \times \frac{3}{4} = 4 \times \frac{1}{64} \times \frac{3}{4} = \frac{12}{256}\).
  4. Add: \(\frac{12}{256} + \frac{1}{256} = \frac{13}{256} \approx 0.05\). Only about a 5% chance — studying is a much better plan!
Stretch · #39 Two equally good teams play a best-of-three series (first to win 2 games wins the series). Each game is a coin-flip (each team wins with...
Two equally good teams play a best-of-three series (first to win 2 games wins the series). Each game is a coin-flip (each team wins with probability \(\tfrac{1}{2}\)). Find the probability that Team A wins the series.
Show answer
Answer: 1/2
Show hints
Hint 1 of 4
Each game is independent with probability \(1/2\) for Team A. Team A wins the series the moment it reaches 2 wins.
Still stuck? Show hint 2 →
Hint 2 of 4
The series lasts 2 or 3 games. A clean way to list outcomes: write the game-by-game winners until someone reaches 2 wins.
Still stuck? Show hint 3 →
Hint 3 of 4
List all the ways the series can go and add the chances — or notice the two teams are equally good, so by symmetry each is equally likely to win the whole thing.
Show solution
Approach: Case-listing, with a symmetry shortcut
  1. Each game is independent, Team A winning with probability \(\frac{1}{2}\).
  2. Method 1 (list the ways A wins, A must win the last game): A wins in 2 games (A A) is \(\frac{1}{2} \times \frac{1}{2} = \frac{1}{4}\). A wins in 3 games: 2 patterns (A B A and B A A), each \(\left(\frac{1}{2}\right)^3 = \frac{1}{8}\), totaling \(\frac{1}{4}\).
  3. Add: \(\frac{1}{4} + \frac{1}{4} = \frac{1}{2}\).
  4. Method 2 (symmetry): the two teams are equally good, so A and B are equally likely to win the series, giving A's chance as exactly \(\frac{1}{2}\) — matching Method 1.
Stretch · #40 Find the probability of getting exactly 4 heads in 6 tosses of a fair coin.
Find the probability of getting exactly 4 heads in 6 tosses of a fair coin.
Show answer
Answer: 15/64
Show hints
Hint 1 of 3
Each toss is heads with probability \(1/2\). There are \(2^6 = 64\) equally likely head/tail sequences in all.
Still stuck? Show hint 2 →
Hint 2 of 3
Count how many of those sequences have exactly 4 heads — that's choosing which 4 of the 6 tosses are heads.
Still stuck? Show hint 3 →
Hint 3 of 3
There are 15 ways to choose which 4 tosses are heads. Divide by 64.
Show solution
Approach: Favorable sequences over all sequences
  1. All 6 tosses give \(2^6 = 64\) equally likely sequences.
  2. The number with exactly 4 heads is the number of ways to choose which 4 of the 6 tosses are heads, which is 15.
  3. So the probability is \(\frac{15}{64}\).
Stretch · #41 Find the probability of getting (a) a three or a five in exactly 2 out of 4 rolls of a fair die; (b) exactly 2 even numbers in 4 rolls...
Find the probability of getting (a) a three or a five in exactly 2 out of 4 rolls of a fair die; (b) exactly 2 even numbers in 4 rolls of a fair die.
Show answer
Answer: (a) 8/27; (b) 3/8
Show hints
Hint 1 of 3
Find the single-roll success chance first: 'three or five' is \(2/6 = 1/3\); 'even' is \(3/6 = 1/2\).
Still stuck? Show hint 2 →
Hint 2 of 3
For each, count the patterns (which 2 of the 4 rolls are the successes) and multiply by (success chance)^2 times (failure chance)^2.
Still stuck? Show hint 3 →
Hint 3 of 3
There are 6 ways to choose which 2 of 4 rolls succeed. (a) \(p = 1/3\); (b) \(p = 1/2\).
Show solution
Approach: Binomial probability with 6 patterns of 2-of-4
  1. There are 6 ways to choose which 2 of the 4 rolls are the successes.
  2. (a) Success = three or five, \(p = \frac{2}{6} = \frac{1}{3}\), failure \(q = \frac{2}{3}\): \(6 \times \left(\frac{1}{3}\right)^2 \left(\frac{2}{3}\right)^2 = 6 \times \frac{1}{9} \times \frac{4}{9} = \frac{24}{81} = \frac{8}{27}\).
  3. (b) Success = even, \(p = \frac{1}{2}\): \(6 \times \left(\frac{1}{2}\right)^2 \left(\frac{1}{2}\right)^2 = 6 \times \frac{1}{16} = \frac{6}{16} = \frac{3}{8}\).
Stretch · #42 A card is drawn from a full deck and put back; this is done 3 times. Find the probability of getting at least one ace in the 3 draws....
A card is drawn from a full deck and put back; this is done 3 times. Find the probability of getting at least one ace in the 3 draws. (An ace has probability \(\tfrac{4}{52} = \tfrac{1}{13}\) each draw.)
Show answer
Answer: 469/2197 (about 0.21)
Show hints
Hint 1 of 4
Because the card is put back, the draws are independent with the same ace-chance \(1/13\) (and no-ace chance \(12/13\)).
Still stuck? Show hint 2 →
Hint 2 of 4
'At least one ace' is awkward to count directly (1, 2, or 3 aces). It is far easier to count the OPPOSITE: no aces at all.
Still stuck? Show hint 3 →
Hint 3 of 4
\(P(\text{no aces in 3 draws}) = (12/13)^3\). Then \(P(\text{at least one}) = 1\) minus that.
Show solution
Approach: Complementary counting — 1 minus 'no aces'
  1. Putting the card back makes the draws independent. Each draw is NOT an ace with probability \(\frac{12}{13}\).
  2. Directly counting 'at least one ace' means handling 1, 2, or 3 aces — messy. The slick move is to find the chance of NO aces and subtract from 1.
  3. \(P(\text{no aces}) = \left(\frac{12}{13}\right)^3 = \frac{1728}{2197}\).
  4. \(P(\text{at least one ace}) = 1 - \frac{1728}{2197} = \frac{469}{2197} \approx 0.21\).
Stretch · #44 A family has 5 children, each equally likely to be a boy or a girl. Find the probability that (a) at least 4 are boys; (b) at least 4 are girls.
A family has 5 children, each equally likely to be a boy or a girl. Find the probability that (a) at least 4 are boys; (b) at least 4 are girls.
Show answer
Answer: (a) 3/16; (b) 3/16
Show hints
Hint 1 of 3
There are \(2^5 = 32\) equally likely sequences. 'At least 4 boys' means exactly 4 OR exactly 5 boys.
Still stuck? Show hint 2 →
Hint 2 of 3
Count the sequences: exactly 5 boys (1 way) and exactly 4 boys (5 ways — which one child is the girl). Add, then divide by 32.
Still stuck? Show hint 3 →
Hint 3 of 3
For (b), boys and girls are equally likely, so by symmetry the 'at least 4 girls' answer is the same as 'at least 4 boys'.
Show solution
Approach: Binomial count, with a symmetry argument for part (b)
  1. There are \(2^5 = 32\) equally likely sequences.
  2. (a) At least 4 boys = exactly 4 OR exactly 5 boys. Exactly 5 boys: 1 sequence. Exactly 4 boys: 5 sequences (which single child is the girl). Total favorable: \(5 + 1 = 6\), so \(\frac{6}{32} = \frac{3}{16}\).
  3. (b) At least 4 girls: since boys and girls are equally likely, swapping the labels shows this has the SAME probability as part (a), so \(\frac{6}{32} = \frac{3}{16}\).
APPENDIX

Counting & Probability quick-reference

Memorize these

FORMULAS TO KNOW COLD

  • Count from a to b (both ends): b − a + 1. (Keep both fenceposts — that is the +1.)
  • Multiplication principle: independent steps multiply. Multiply WITHIN a case (AND), add ACROSS cases (OR).
  • Factorial: n! = n·(n−1)·…·2·1. 5! = 120. 6! = 720. 7! = 5040. (0! = 1 by convention.)
  • Permutations (order matters): P(n, k) = n! / (n−k)!.
  • Combinations (order doesn't matter): C(n, k) = n! / (k! · (n−k)!).
  • Symmetry: C(n, k) = C(n, n−k).
  • Pairs / handshakes: C(n, 2) = n(n−1) / 2. (5 → 10, 10 → 45, 20 → 190.)
  • Polygon diagonals: n(n−3) / 2.
  • Gauss sum: 1 + 2 + … + n = n(n+1) / 2. (1 + … + 100 = 5050.)
  • Subsets of an n-element set: 2n.
  • Circular arrangements: (n−1)! (rotations of the same arrangement count once).
  • Letters with repeats: n! / (d₁! · d₂! · …).
  • Stars and bars: identical N items among k distinct recipients (zeros allowed) = C(N+k−1, k−1).
  • Probability: favorable / total (only when outcomes are equally likely).
  • Independent events: P(A and B) = P(A) · P(B).
  • Mutually exclusive: P(A or B) = P(A) + P(B).
  • Complement: P(not A) = 1 − P(A).
  • Inclusion-exclusion: |A ∪ B| = |A| + |B| − |A ∩ B|.
  • Lattice paths (right/up): C(m+n, m).
  • Pigeonhole (guarantee N from k): k(N−1) + 1 items.
  • Degree-sum parity: sum of everyone's handshake counts = 2 × (handshakes), so it is always even — the number of people who shook an odd number of hands is even.
Common traps
  • Fencepost / off-by-one. Counting a to b is b − a + 1, not b − a; “span ÷ step” misses the endpoints. List a tiny case to check both ends.
  • Order matters or not? Permutation vs. combination — read the problem carefully.
  • With or without replacement? Without = the pool shrinks for the second draw.
  • Forgetting to subtract overlap in “A or B” with both possible. If a total exceeds the whole group, you forgot to subtract the overlap.
  • “At least one” trap. Use complementary counting; count the “none” case and subtract.
  • Outcomes not equally likely. Favorable / total only works when every counted outcome is equally likely — the 11 dice-sums (2…12) are NOT equal; count the 36 ordered pairs instead.
  • Dividing by 2 when you didn't double-count. Halve a handshake/pair count only if EVERY item was counted twice; mixed cases (e.g. some shakes one-way) must be split first.
  • Over-counting symmetric arrangements. If items can be rotated/reflected to the same arrangement, divide by the symmetry count.
Warm-ups

Drill these:

  • 5! = 120. 6! = 720. 7! = 5040.
  • C(5,2) = 10. C(10,2) = 45. C(10,3) = 120.
  • 10 handshakes among 5 people. 45 among 10. 190 among 20.
  • Rolling 2 dice: 36 outcomes. P(sum = 7) = 6/36 = 1/6. P(sum = 12) = 1/36.
  • Flipping 3 coins: 8 outcomes. P(exactly 2 heads) = C(3, 2)/8 = 3/8.
  • Paths from (0,0) to (4,3): C(7, 3) = 35.
Want to climb higher? — advanced counting tools (#22–#25 territory)
  • PIE for 3 sets: |A ∪ B ∪ C| = |A| + |B| + |C| − |A∩B| − |A∩C| − |B∩C| + |A∩B∩C|.
  • Pascal’s identity: C(n, k) + C(n, k+1) = C(n+1, k+1). (Useful for building Pascal’s triangle row-by-row.)
  • Binomial sum: C(n,0) + C(n,1) + … + C(n,n) = 2n. (Same fact as “number of subsets” — two views.)
  • Linearity of expectation: E[X + Y] = E[X] + E[Y], even when X and Y are NOT independent. Lets you compute the expected total without disentangling cases.
  • Recursion-as-counting: when a problem builds on smaller cases, count f(1), f(2), f(3) and look for a relation like f(n) = f(n−1) + f(n−2) (Fibonacci). Then chase the recurrence.
  • Count two ways / invariants: find one total that two different counts must both equal and let them pin each other down — e.g. sum of handshake counts = 2×(handshakes), so the number of odd-degree people is even (degree-sum parity); or “count the losers” in a knockout (n−1 games).