Numsprite數靈精Play free
中文

Olympiad topic · P3–P6

Pigeonhole principle

Common in the Hua Xia Cup's P3 to P6 qualifying rounds and finals. The trick is to imagine the unluckiest case.

Try one

★★ Medium

A teacher hands out all 17 books to a class, any number to each pupil, even none.

She says, "However they're shared, some pupil gets at least 3."

She is right.

What is the largest the class could be?

Four levels, step by step

Pigeonhole principle: what it is and how to solve it

Putting things into "boxes": at least how many end up in one box, or how many you must take to be sure.

For example: Sweets come in 4 colours. How many must you take to be sure of two the same? At worst the first 4 are all different; the next one must match: 4 + 1 = 5.

The key idea: Think of the unluckiest case: fill every box to just short, and one more makes it certain. n things in k boxes: some box has at least n ÷ k (rounded up).

Practise this topic free →Easy to Hard (★ to ★★★) all free, unlimited questions, no download