Exercise · ZW-PIGEONHOLE-PRINCIPLE-007 · ★★☆ Intermediate

A drawer holds loose socks of 3 colours. Without looking, how many must be taken at minimum to guarantee a pair of the same colour?

Choose one option.

Show answer
  • D. \(4\)

Explanation

With 3 socks they can be of different colours; the fourth repeats a colour.

Study Discrete mathematics in ZWMath →

Review the concept: Pigeonhole principle

If \(n\) objects are placed in \(k\) boxes, some box holds at least \(\lceil n/k\rceil\) objects, and in particular two when \(n>k\).

\[\left\lceil \dfrac{n}{k}\right\rceil\]

More practice problems: pigeonhole principle

← ZW-PIGEONHOLE-PRINCIPLE-006 ZW-PIGEONHOLE-PRINCIPLE-008 →