Counting and recurrences

The rules of counting, permutations and combinations, the pigeonhole principle, inclusion-exclusion, and recurrence relations that describe recursive processes.

About 7 hours of study

Learning objectives

Lessons

  1. 1

    Counting: permutations and combinations

    The sum and product rules, permutations and combinations with and without repetition, Pascal's triangle and the binomial theorem.

  2. 2

    The pigeonhole principle and inclusion-exclusion

    If there are more items than boxes, some box holds two; the generalized form; the birthday problem; and counting a union of three sets.

  3. 3

    Recurrence relations Intermediate

    Sequences defined by earlier terms: the Tower of Hanoi and Fibonacci, solving by unrolling, the characteristic equation, and divide-and-conquer recurrences.

Module practice

Module quiz

1. How many ways are there to choose 3 people from 8 for a committee?
2. What is 5 factorial?
3. 20 balls go into 6 boxes. Some box holds at least how many?
4. How many numbers from 1 to 60 are divisible by 2 or 3?
5. The Tower of Hanoi recurrence H(n) = 2H(n − 1) + 1 with H(1) = 1 solves to...
6. What is the characteristic equation of a(n) = 3a(n − 1) − 2a(n − 2)?

‹ Sets, functions and relationsNumber theory and RSA ›