40th IMO 1999 shortlist

------
 
 
Problem A2

The numbers 1 to n2 are arranged in the squares of an n x n board (1 per square). There are n2 (n-1) pairs of numbers in the same row or column. For each such pair take the larger number divided by the smaller. Then take the smallest such ratio and call it the minrat of the arrangement. So, for example, if n2 and n2 - 1 were in the same row, then the minrat would be n2/(n2 - 1). What is the largest possible minrat?

 

Solution

Answer: (n+1)/n.

The subset {n2, n2 - 1, ... , n2 - (n-1) } has n members. If any two lie in the same row or column, then their ratio is at most n2/(n2 - n + 1) < (n+1)/n. So the minrat < (n+1)/n. If they all lie in different rows and columns then the number n2 - n must lie in the same row as one of them and the same column as another, so that gives a ratio at most (n2 - 1)/(n2 - n) = (n+1)/n. So in any case the minrat must be ≤ (n+1)/n.

We now have to show that this value can be achieved. Take the number at (i, j) to be aij = i + n(j - i - 1) for i < j, and i + n(n - i + j - 1) for i ≥ j. For example,

21   1   6  11  16
17  22   2   7  12
13  18  23   3   8
 9  14  19  24   4
 5  10  15  20  25
The numbers in the same row differ by multiples of n, so their ratio is at least n2/(n2 - n) > (n+1)/n. The numbers if the first column are a decreasing arithmetic progression, so the smallest ratio between the first two terms: (n2 - n + 1)/(n2 - 2n + 2) ≥ (n+1)/n. The numbers in the nth column are n2 and an arithmetic progression n-1, 2(n-1), ... , (n-1)2, so the smallest ratio is (n-1)/(n-2) > (n+1)/n. For the other columns the numbers form two arithmetic progressions, each with difference n-1 and the smallest ratio is (n2-n+j)/(n2-2n+j+1) ≥ (n+1)/n (the ratio of the number on the diagonal and the number just below it), with equality if j = n-1.

 


 

40th IMO shortlist 1999

© John Scholes
jscholes@kalva.demon.co.uk
10 Oct 2002