Counting combinations
Think about a -digit ATM PIN, or a coin flipped five times in a row. How many different PINs exist? How many different sequences of heads and tails can that coin produce? You could try to list them all, but for even modest numbers the list explodes into the thousands before you have written ten lines. There is a shortcut hiding in plain sight: whenever the same number of choices repeats, independently, at every step of a task, the total count of possibilities is not found by adding or multiplying-by-the-number-of-steps — it is found by raising the number of choices to a power. This is exponential notation doing real counting work, and it turns a tedious listing problem into one line of arithmetic. This article extends the Class 8 "Power Play" idea of counting with exponents, keeping every worked number from the syllabus article and adding more practice, a proof of why it works, and the traps that catch students first.
When a task has independent steps and every step offers the same choices, the total number of outcomes is , not .
The core idea
Many counting problems share one hidden shape: a task broken into a fixed number of steps, where each step offers the same number of choices, and every step's choice is made independently of the others (nothing about an earlier choice restricts a later one). Recognising that shape is the whole skill — once you see it, the count is a single power.
- Steps and choices. Call the number of choices available at each step , and the number of steps . A -character PIN using digits – has (ten possible digits) and (three positions).
- Why multiplication, not addition. After step there are possible partial outcomes. Each of those outcomes can be followed by any of the choices at step , giving combined outcomes so far. Continuing this for all steps multiplies by itself times.
- The formula. Once the pattern is set up, the total number of outcomes is:
where: is the number of choices repeated at every step, and is the number of independent steps.
- Where this shape shows up. Repeated coin tosses ( per toss), dial locks with the same symbol set on every dial, passwords built from a fixed character set with repetition allowed, and any "menu repeated times" situation. The one non-negotiable condition is that stays the same at every step — if the choices shrink (say, digits cannot repeat), no longer applies, and that harder counting method belongs to a later grade.
The goal is to show, from nothing more than the definition of multiplication and the meaning of a power, that a task with steps and the same choices at every independent step must produce exactly total outcomes — not , and not any other combination — so that the shortcut can be trusted rather than just memorised.
Step 1. Start with one step. If there is only step and it offers choices, the number of outcomes is obviously . This matches , so the formula holds for the smallest case.
Step 2. Add a second step. For each of the outcomes of step , step independently offers fresh choices (independence is what makes this true — nothing from step removes or adds options at step ). So every one of the step- outcomes branches into step- outcomes, giving groups of , which is total outcomes after two steps.
Step 3. Extend the pattern one step at a time. Suppose after steps there are outcomes (this matches Steps 1 and 2 for and ). Adding one more independent step with choices multiplies every existing outcome by again, since each of the partial outcomes can be followed by any of the new choices. That gives outcomes after steps — exactly one more power of , matching the exponent rule .
Step 4. Conclude for steps. Repeating Step 3 from up to shows the outcome count climbs one multiplication at a time, so after all steps the total is . This is why the shortcut works: it is repeated multiplication by , exactly times, which is the definition of .
Worked example
A student is asked to create a -character login code using only the digits –, and digits are allowed to repeat. How many different codes are possible?
Step 1. Identify , the number of choices at each position: there are possible digits () for every character.
Step 2. Identify , the number of positions: there are characters in the code, and each character's digit is chosen independently of the others (repetition is allowed).
Step 3. Apply the formula: since the same choices repeat independently across all positions, the total number of codes is , running from to .
Competitive stretch
Extend the same lock to characters, but now suppose the first character must be a letter from a set of letters, while the remaining characters are still digits –. How many codes are possible?
Step 1. This task no longer has the same at every step, so the plain power rule cannot be applied to the whole code at once — it applies separately within each block of identical choices.
Step 2. The first position has independent choices (letters); the remaining positions each repeat the same digit choices, giving combinations for that block by the same reasoning as above.
Step 3. Because the letter choice and the digit block are also chosen independently of each other, the counts multiply together (an extension of the same idea): total codes .
Common traps
- Multiplying instead of exponentiating: writing instead of for the -digit code — the number of choices must be raised to the power of the number of steps, not multiplied by it.
- Using when the choices are not identical at every step: if a code cannot repeat digits, the choices shrink at each step (, then , then , …), so a plain power overcounts and this needs a different method from a later grade.
- Ignoring dependence between steps: the shortcut only works when every step's choice is genuinely free of the earlier ones; if an earlier choice restricts what comes later (as in the no-repeat case), independence fails and is wrong.
- Mixing up counting with likelihood: finding that there are possible -toss sequences answers "how many outcomes exist," which is a different question from "how likely is one particular outcome" — probability is a separate topic.
Ask the tutor: Want to try a mixed counting problem — like a lock with letters in some positions and digits in others — and check your reasoning step by step?
How is a^n different from just multiplying a and n together
means multiplied by itself times — for the login code, . Plain multiplication would give , which massively undercounts because it ignores that every earlier choice branches into fresh choices at the next step. The power notation is a shorthand for repeated multiplication, exactly matching how the choices actually combine.
Why does the number of choices have to stay the same at every step for this to work
The formula comes from multiplying the same number by itself times, so it only makes sense if every step genuinely offers that same choices. If a step offers a different number of choices — say the choices shrink because repetition is not allowed — the count is still found by multiplying the choices at each step together, but the numbers being multiplied are no longer identical, so it cannot be written as a single power . That situation needs the more general counting method taught in later grades.
Is this the same as permutations and combinations that older students learn
Not quite. What you are learning here is a special, simpler case: counting outcomes when the same number of choices repeats at every step with repetition allowed, expressed neatly using exponential notation. Full permutations and combinations (, ) handle the more general situation, including cases where repetition is not allowed or choices change from step to step. That formal topic is introduced in later grades; for now, the exponent shortcut is the tool you need.