Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · Grades 6–8

Counting principles

Name: ______________________

Date: ______________________

You will learn to

  • Apply the addition and multiplication principles to count outcomes, and explain why each works
  • Count arrangements of nn objects (n!n!) and ordered selections of kk objects from nn (n!(n−k)!\tfrac{n!}{(n-k)!})
  • Use complementary counting, for example to count passwords containing at least one digit
  • Correct for overlapping cases with ∣A∪B∣=∣A∣+∣B∣−∣A∩B∣|A \cup B| = |A| + |B| - |A \cap B|
  1. 1.

    Kofi has 44 shirts, 33 pairs of trousers and 22 pairs of shoes. An outfit is one shirt, one pair of trousers and one pair of shoes. How many different outfits can he make?

  2. 2.

    A school library in Quito has 1212 novels and 88 comics on a display shelf. Ana may borrow one book from the shelf. In how many ways can she choose?

    • A.2020
    • B.9696
    • C.1212
    • D.44
  3. 3.

    In how many different orders can 66 different books be arranged on a shelf?

  4. 4.

    Ten swimmers race in a final. In how many ways can the gold, silver and bronze medals be awarded? (No ties.)

  5. 5.

    How many 4-digit PINs (from 00000000 to 99999999) contain at least one repeated digit?

  6. 6.

    How many of the whole numbers from 11 to 100100 are divisible by 33 or by 55 (or both)?

  7. 7.

    Which of these are good reasons for defining 0!=10! = 1? (Choose all that apply.)

    • A.There is exactly one way to arrange no objects: the empty arrangement
    • B.It makes P(n,n)=n!(n−n)!=n!P(n, n) = \tfrac{n!}{(n - n)!} = n! true
    • C.It keeps the rule n!=n×(n−1)!n! = n \times (n - 1)! true for n=1n = 1
    • D.Because zero times anything is zero
  8. 8.

    A code has 33 symbols, each a capital letter (2626 choices) or a digit (1010 choices). How many codes contain at least one letter and at least one digit?

  9. 9.

    In the Lean file, perm n k is P(n,k)P(n, k) and fact n is n!n!. Which statement correctly formalises P(n,k)=n!(n−k)!P(n, k) = \tfrac{n!}{(n - k)!}?

    • A.∀ n k : Nat, k ≤ n → perm n k * fact (n - k) = fact n
    • B.∀ n k : Nat, perm n k * fact (n - k) = fact n
    • C.∀ n k : Nat, k ≤ n → perm n k = fact n / fact k
    • D.∀ n k : Nat, k ≤ n → perm n k = fact n * fact (n - k)
  10. 10.

    Write a recursive function arrangements(items) that returns a list of all orderings of the list items (each ordering a list), without using itertools. Idea: for each item, put it first and follow it by every arrangement of the remaining items. Then check that 44 items give 4!=244! = 24 different arrangements.

    Computational — Practice

Code: Apache-2.0 · Content: CC BY-SA 4.0