Counting With Structure
Pair objects with objects. Subsets of with even sum: toggle the element — an involution swapping parity — so exactly half, .
Dyck paths balanced parentheses triangulations (Catalan, , , proved by the reflection bijection). Compositions of subsets of gaps (). Stars and bars: nonnegative solutions of arrangements of stars and bars. A bijection is a proof; a formula is a claim.
Set up by the first choice; solve by characteristic equation or by the generating function , which turns the recurrence into algebra.
Domino tilings of : (Fibonacci; ). Derangements: , or by inclusion–exclusion (). Generating functions multiply when choices are independent: is stars and bars, counts partitions into distinct parts, and Vandermonde is .
. And: the largest, smallest, or extreme object has the least room to misbehave.
PIE counts surjections, derangements, and "no two adjacent" arrangements. Extremal: among finitely many points not all collinear, a pair at minimum distance... ; in a tournament, the vertex with maximum out-degree...; the longest path in a graph has endpoints whose neighbors all lie on it. Pigeonhole with objects forces in a box; the Erdős–Szekeres theorem ( reals contain a monotone subsequence of length ) is pigeonhole plus extremal, and it is a Putnam regular.
Degree sum ; a tree on vertices has edges; bipartite iff no odd cycle; Mantel ( edges triangle-free) and Turán; Hall's marriage condition; Euler's for planar graphs (with ). Model anything with "pairs" or "relations" as a graph and these become available.
How many integers in are divisible by none of ?
. (Approximately ✓.)
Proofs & Why It Matters
Lattice paths from to never rising above number .
All paths: . A BAD path touches the line ; reflect the portion after its first touch across that line — it now ends at . This is a bijection between bad paths and all paths to , of which there are . Good paths: . Significance: the reflection principle also solves the ballot problem and gambler's ruin — one bijection, three theorems.
Any sequence of distinct reals has a monotone subsequence of length .
Label each term with = lengths of the longest increasing and longest decreasing subsequence ENDING at . For : if then ; if then — so the labels are all distinct. If every there are only possible labels for terms: pigeonhole. Significance: the proof is the template "assign labels that are forced to be distinct, then count labels" — a pigeonhole pattern that recurs across Putnam combinatorics.
Going Deeper: Worked Problems
How many ways can be written as an ordered sum of s, s, and s?
Step 1 — let count such compositions; the first part is , , or : (tribonacci), , , .
Step 2 — the generating function is (each composition is a word in the "alphabet" ).
Step 3 — run the recurrence: : .
Step 4 — growth rate , the real root of — the generating function's smallest pole.
In a tournament (every pair of teams plays once, no ties), show some team has the property that every other team either lost to or lost to a team that lost to .
Step 1 — take with the MAXIMUM number of wins.
Step 2 — suppose some team is not reachable in steps: beat , and beat every team that beat.
Step 3 — then has at least (wins of ) wins — the teams beat, plus itself — contradicting maximality. Choosing the extreme object made the contradiction one sentence long; that is the extremal principle at its cleanest.