Core answer: Order matters → permutations: P(n,k) = n!/(n−k)!. Order doesn't matter → combinations: C(n,k) = n!/(k!(n−k)!). Picking a president, secretary and treasurer from 10 people is P(10,3) = 720; picking a 3-person committee is C(10,3) = 120 — exactly 3! = 6 times fewer, because each committee has 6 internal orderings.

Which formula when

SituationOrder matters?FormulaExample (n=10, k=3)
Podium / roles / passwordYesP(n,k) = n!/(n−k)!720
Committee / hand / toppingsNoC(n,k) = P/k!120
PIN with repeats allowedYes, repeats okn^k1,000
Arranging all nYesn!3,628,800

Worked examples

Example 1 — The 6/49 lottery. C(49,6) = 49!/(6!·43!) = 13,983,816. Your "lucky numbers" have the same 1-in-14-million chance as 1-2-3-4-5-6.

Example 2 — Poker pairs. Number of 5-card hands: C(52,5) = 2,598,960. Number of ways to get exactly one pair: choose rank (13) × 2 suits of 4 (C(4,2)=6) × 3 more ranks (C(12,3)=220) × suits (4³=64) = 1,098,240 → probability ≈ 42%.

Example 3 — Seating photos. 5 people line up: 5! = 120 arrangements. If two must stand adjacent, glue them into one unit: 4! × 2 = 48.

Example 4 — License plates. 2 letters + 4 digits, repeats allowed: 26² × 10⁴ = 6,760,000 plates per pattern — why cities add letters as they grow.

The symmetry tricks

  • C(n,k) = C(n,n−k): choosing 47 non-winners of 49 is the same count as choosing 6 winners. Compute the smaller side.
  • C(n,0) = C(n,n) = 1; C(n,1) = n.
  • Pascal's rule: C(n,k) = C(n−1,k−1) + C(n−1,k) — builds the triangle.

Common mistakes and myths

  1. Using permutations for committees — if titles don't exist, order is irrelevant; divide by k!.
  2. Forgetting the "with replacement" case — a 4-digit PIN is 10⁴ = 10,000, not P(10,4) = 5,040, because digits repeat.
  3. Believing past draws change odds — each lottery draw is independent; last week's numbers are exactly as likely this week.
  4. Double-counting in "at least one" problems — complement is easier: P(at least one) = 1 − P(none).
  5. Thinking more tickets change the math meaningfully — 100 tickets in 6/49 is still a 0.0007% chance; combinatorics dwarfs purchases.