Follow your curiosity

What discovery has been shared with you?

Start with one fact. Explore it, go deeper, then follow whichever branch catches your imagination.

Choose subjects for a surprise

Exploring any topic

Begin your discovery

Your next discovery is one click away.

Choose one or more subjects above, or leave Any Topic selected and let curiosity decide.

Mathematics

The Pigeonhole Principle and Its Surprising Consequences

Quick fact

If you have more pigeons than pigeonholes, at least one hole must contain more than one pigeon. For example, among any 13 people, at least two share the same birth month.

Why this is interesting

Have you ever wondered why in a room of just 367 people, you're guaranteed to find two who share a birthday? The answer lies in a deceptively simple counting principle.

Read the full explanation

Understanding The Pigeonhole Principle and Its Surprising Consequences

The pigeonhole principle is about forced outcomes. Imagine you have 10 socks (pigeons) but only 9 drawers (pigeonholes). No matter how you distribute them, one drawer will have at least two socks. Formally, if you place n items into m containers and n m, then at least one container must have at least two items. This isn't a trick—it's a direct consequence of counting. The principle is a powerful tool because it guarantees existence without listing possibilities. It reveals that in sufficiently large sets, certain patterns become inevitable.

A deeper explanation

The principle works because the total number of items cannot be spread evenly without exceeding the number of containers. If each container had at most one item, the maximum total would be m. Since n m, that's impossible. So at least one container holds more than one item. This simple observation leads to surprising consequences: among n+1 integers, two must have the same remainder when divided by n (proving the existence of a multiple of n among any n consecutive integers). In graph theory, it shows that in any group of six people, either three mutually know each other or three mutually are strangers—a seed of Ramsey theory. It underpins results like the Erdos–Szekeres theorem on monotone subsequences and the proof that any sequence of n²+1 distinct numbers contains an increasing or decreasing subsequence of length n+1. The beauty is that the principle doesn't require knowing which items—just that they must exist.

Keep FACTREE close

Internet access is required. Updates arrive when you reopen or reload the app. You may need to sign in again in the installed app.