IMO (Maths Olympiad) /Combinatorics

Catalan Numbers and Stirling Numbers

Counting Principles · free study notes

Catalan Numbers & Stirling Numbers

Advanced University‑Level Study Notes (MIT‑style)

Goal – Build a solid, first‑principles understanding of the Catalan and Stirling numbers, their combinatorial interpretations, generating functions, asymptotics, and inter‑relations.
Audience – Undergraduate majors in Mathematics or Computer Science, graduate students beginning a research project in enumerative combinatorics.


1. Introduction

Symbol Objects Origins
(C_n) Catalan numbers Plane binary trees, Dyck paths, balanced parenthesis strings, etc.
(\left[{n\atop k}\right]) Stirling numbers of the first kind (signed) Cycle structure of permutations.
(\left{ {n \atop k} \right}) Stirling numbers of the second kind Partitions of an (n)-set into (k) nonempty blocks.

All three sequences satisfy elegant recurrences, explicit formulas, and deep connections with generating functions. We will derive everything from scratch, prove identities, and then expose several higher‑level viewpoints (species, Riordan arrays, Lagrange inversion).


2. Catalan Numbers

2.1 Definition (first principles)

Let (C_n) count Dyck paths of semilength (n): lattice paths from ((0,0)) to ((2n,0)) with steps (U=(1,1)) and (D=(1,-1)) that never go below the (x)-axis.

Remark – The number of Dyck paths equals the number of balanced parenthesis strings of length (2n), the number of planar binary trees with (n+1) leaves, etc.

2.2 Recurrence

Let (C_0=1). For (n\ge 1),

[ C_n = \sum_{i=0}^{n-1} C_i,C_{n-1-i}\tag{2.1} ]

Proof (Dyck decomposition).
Every Dyck path of semilength (n) starts with an up step (U). The path returns to the (x)-axis for the first time after (2k+2) steps for some (k\in[0,n-1]). The portion up to that step is a Dyck path of semilength (k+1); after the return, the remaining portion is a Dyck path of semilength (n-1-k). Removing the initial (U) and final (D) from the first portion gives a Dyck path of semilength (k). Thus

[ C_n = \sum_{k=0}^{n-1} C_k,C_{n-1-k}. ]

2.3 Explicit Formula

Using (2.1) and induction, one proves

[ C_n = \frac{1}{n+1}\binom{2n}{n}\quad\text{(Catalan’s formula)}\tag{2.2} ]

Proof (induction + binomial identity).
Assume (2.2) holds for all (k<n). Then

[ \begin{aligned} C_n &= \sum_{k=0}^{n-1} \frac{1}{k+1}\binom{2k}{k}\ \frac{1}{n-k}\binom{2(n-1-k)}{n-1-k} \ &= \frac{1}{n+1}\binom{

Your note

Page 1

Doubt hai is topic me?

Free AI teacher se poocho — 24/7, step by step.