Skip to main content

TL;DR

Pigeonhole Principle: If n+1 objects go into n boxes, at least one box holds two or more. This concept is essential for quantitative trading interviews and is frequently tested at top firms.

By Valenke Exam Prep Team·Last updated 2026-06-01
Combinatorics

Pigeonhole Principle

If n+1 objects go into n boxes, at least one box holds two or more.

The pigeonhole principle is deceptively simple yet devastatingly powerful: if you put more objects than containers, some container must hold at least two objects. Formal statement: If nn items are placed into mm containers and n>mn > m, then at least one container holds at least n/m\lceil n/m \rceil items. Intuition: Imagine stuffing 11 pigeons into 10 pigeonholes. No matter how cleverly you distribute them, one hole must contain at least 2 pigeons. The principle seems obvious, but its power lies in choosing the right "pigeons" and "holes." Concrete example: Among any 13 people, at least 2 share a birth month. Here the "pigeons" are 13 people and the "holes" are 12 months. Since 13>1213 > 12, at least one month has 2\geq 2 people. A subtler example: In any sequence of n2+1n^2 + 1 distinct real numbers, there exists either an increasing subsequence of length n+1n+1 or a decreasing subsequence of length n+1n+1. (Assign each element the pair (length of longest increasing subsequence ending here, length of longest decreasing subsequence ending here). There are at most n×n=n2n \times n = n^2 distinct pairs, but n2+1n^2+1 elements — so two share the same pair, which forces the conclusion.) Box 1 Box 2 Box 3 1 2 3 4 4 pigeons, 3 holes → Box 1 gets 2! When to use: Existence proofs in interviews — "prove that something must happen" without constructing it. Common in number theory, sequences, and scheduling problems. This is a fundamental technique. The trick is always identifying what are the pigeons and what are the holes.

Ready to practice for the Valenke Finance Exam?

Adaptive practice powered by Item Response Theory targets your weak areas. Start with 3 free sessions.

Start free practice →