Practice Discrete Math

Counting / Pigeonhole Principle

Least You Need to Know: The Pigeonhole Principle

If you place more objects than boxes into the boxes, at least one box must contain more than one object. Use the ceiling idea for stronger versions.

The least you need to know

Key notation

⌈x⌉ ceiling of x
n number of objects
k number of boxes

Tiny worked example

  • Put 13 students into 4 project groups.
  • `13/4 = 3.25`, so some group has at least `⌈3.25⌉ = 4` students.
  • You do not know which group, only that one must exist.

Common mistakes

How to recognize this kind of problem

Next recommended lesson

Continue through this topic with Least You Need to Know: Product Rule and Sum Rule.

Least You Need to Know: Product Rule and Sum Rule

Related lessons

Keep going with nearby lessons in the same topic.

More ways to explore

Start practice