Counting combinations

Think about a 44-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.

The core insight

When a task has nn independent steps and every step offers the same aa choices, the total number of outcomes is ana^n, not a×na \times n.

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 aa, and the number of steps nn. A 33-character PIN using digits 00–99 has a=10a = 10 (ten possible digits) and n=3n = 3 (three positions).
  • Why multiplication, not addition. After step 11 there are aa possible partial outcomes. Each of those aa outcomes can be followed by any of the aa choices at step 22, giving a×aa \times a combined outcomes so far. Continuing this for all nn steps multiplies aa by itself nn times.
  • The formula. Once the pattern is set up, the total number of outcomes is:
Total outcomes=an\text{Total outcomes} = a^n

where: aa is the number of choices repeated at every step, and nn is the number of independent steps.

  • Where this shape shows up. Repeated coin tosses (a=2a = 2 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 nn times" situation. The one non-negotiable condition is that aa stays the same at every step — if the choices shrink (say, digits cannot repeat), ana^n no longer applies, and that harder counting method belongs to a later grade.
Figure
A tree diagram for two coin tosses showing two branches from the start each splitting into two more branches giving four final outcomes HH HT TH TT illustrating that repeated choices multiply
Two coin tosses: choices multiply at every step start H T HH HT TH TT 2 choices at step 1, 2 choices at step 2, giving 2 times 2 equals 4 outcomes
Derivation AWhy repeated independent choices give a power

The goal is to show, from nothing more than the definition of multiplication and the meaning of a power, that a task with nn steps and the same aa choices at every independent step must produce exactly ana^n total outcomes — not a×na \times n, 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 n=1n = 1 step and it offers aa choices, the number of outcomes is obviously aa. This matches a1=aa^1 = a, so the formula holds for the smallest case.

Step 2. Add a second step. For each of the aa outcomes of step 11, step 22 independently offers aa fresh choices (independence is what makes this true — nothing from step 11 removes or adds options at step 22). So every one of the aa step-11 outcomes branches into aa step-22 outcomes, giving aa groups of aa, which is a×a=a2a \times a = a^2 total outcomes after two steps.

Step 3. Extend the pattern one step at a time. Suppose after kk steps there are aka^k outcomes (this matches Steps 1 and 2 for k=1k = 1 and k=2k = 2). Adding one more independent step with aa choices multiplies every existing outcome by aa again, since each of the aka^k partial outcomes can be followed by any of the aa new choices. That gives ak×a=ak+1a^k \times a = a^{k+1} outcomes after k+1k+1 steps — exactly one more power of aa, matching the exponent rule ak×a=ak+1a^k \times a = a^{k+1}.

Step 4. Conclude for nn steps. Repeating Step 3 from k=1k = 1 up to k=n−1k = n-1 shows the outcome count climbs a,a2,a3,…,ana, a^2, a^3, \ldots, a^n one multiplication at a time, so after all nn steps the total is ana^n. This is why the shortcut works: it is repeated multiplication by aa, exactly nn times, which is the definition of ana^n.

Worked example

A student is asked to create a 33-character login code using only the digits 00–99, and digits are allowed to repeat. How many different codes are possible?

Step 1. Identify aa, the number of choices at each position: there are 1010 possible digits (0,1,2,…,90, 1, 2, \ldots, 9) for every character.

Step 2. Identify nn, the number of positions: there are 33 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 1010 choices repeat independently across all 33 positions, the total number of codes is 103=10×10×10=100010^3 = 10 \times 10 \times 10 = \mathbf{1000}, running from 000000 to 999999.

Competitive stretch

Extend the same lock to 44 characters, but now suppose the first character must be a letter from a set of 2626 letters, while the remaining 33 characters are still digits 00–99. How many codes are possible?

Step 1. This task no longer has the same aa at every step, so the plain power rule ana^n cannot be applied to the whole code at once — it applies separately within each block of identical choices.

Step 2. The first position has 2626 independent choices (letters); the remaining 33 positions each repeat the same 1010 digit choices, giving 103=100010^3 = 1000 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 =26×103=26×1000=26,000= 26 \times 10^3 = 26 \times 1000 = \mathbf{26{,}000}.

Common traps

  • Multiplying instead of exponentiating: writing 10×3=3010 \times 3 = 30 instead of 103=100010^3 = 1000 for the 33-digit code — the number of choices must be raised to the power of the number of steps, not multiplied by it.
  • Using ana^n when the choices are not identical at every step: if a code cannot repeat digits, the choices shrink at each step (1010, then 99, then 88, …), 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 ana^n is wrong.
  • Mixing up counting with likelihood: finding that there are 3232 possible 55-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

ana^n means aa multiplied by itself nn times — for the login code, 103=10×10×10=100010^3 = 10 \times 10 \times 10 = 1000. Plain multiplication a×na \times n would give 10×3=3010 \times 3 = 30, 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 ana^n comes from multiplying the same number aa by itself nn times, so it only makes sense if every step genuinely offers that same aa 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 ana^n. 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 (nPrnPr, nCrnCr) 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 ana^n is the tool you need.

Before this

Where this leads