Daily

Random

Practice set

Baltic Way 1990 · Problem 18

Combinatorics

Positive integers 1,2,…,100,1011,2, \ldots, 100,101 are written in the cells of a 101×101101 \times 101 square grid so that each number is repeated 101 times. Prove that there exists either a column or a row containing at least 11 different numbers.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Counting and enumeration · Pigeonhole and extremal arguments

Solutions

Solution

Solution:

Let aka_{k} denote the total number of rows and columns containing the number kk at least once. As i⋅(20−i)<101i \cdot (20 - i) < 101 for any natural number ii, we have ak≥21a_{k} \geq 21 for all k=1,2,…,101k = 1, 2, \ldots, 101. Hence a1+⋯+a101≥21⋅101=2121a_{1} + \cdots + a_{101} \geq 21 \cdot 101 = 2121. On the other hand, assuming any row and any column contains no more than 1010 different numbers we have a1+⋯+a101≤202⋅10=2020a_{1} + \cdots + a_{101} \leq 202 \cdot 10 = 2020, a contradiction.