Constrained Counting and Recurrence Workshop
Retrieval Prompts
- Write the inclusion-exclusion formula for two and three sets.
- State the generalized pigeonhole principle.
- Explain why stars and bars is a bijection.
- Describe the five-step process for deriving a recurrence.
Compare and Distinguish
Separate these methods:
- inclusion-exclusion versus complement counting
- pigeonhole existence proof versus exact counting
- stars and bars versus permutation counting
- recurrence derivation versus recurrence solving
Common Mistake Check
Find the flaw in each:
- Using stars and bars when the distributed objects are distinct.
- Writing a recurrence from the first four numerical values alone.
- Applying inclusion-exclusion without defining the underlying sets.
Mini Application
Do each problem twice: once by describing the model in words, once by computing.
- Count nonnegative solutions to
x1 + x2 + x3 + x4 = 9. - Show that among any
9integers, two have the same remainder modulo8. - Derive a recurrence for ternary strings of length
nwith no two consecutive equal symbols. - Write a generating function for the number of ways to make
nusing parts of size1,2, and4.
Evidence Check
This page is complete only if your recurrence states include initial conditions and your counting methods are justified before calculation.