Maths Olympiad Prep

Library / /154 of 183

, 2015

Combinatorics Difficulty 2.7 Junior Find the answer Canada

The numbers 1 through 25 are arranged into 5 rows and 5 columns in the table below.

12345

109876

1112131415

2019181716

2122232425

What is the largest possible sum that can be made using five of these numbers such that no two numbers come from the same row and no two numbers come from the same column?

Pick one

Solution

We begin by choosing the largest number in each row, 5,10,15,20,255,10,15,20,25, and calling this list LL. The sum of the five numbers in LL is 5+10+15+20+25=755+10+15+20+25=75 and this sum satisfies the condition that no two numbers come from the same row.

However, the numbers in LL are taken from columns 1 and 5 only, and the numbers must be chosen so that no two come from the same column.

Thus, the largest of the five answers given, 75, is not possible.
Note: In assuring that we take one number from each row, this choice of numbers, LL, is the only way to obtain a sum of 75 (since we chose the largest number in each row).

Of the five answers given, the next largest answer is 73.

Since LL uses the largest number in each row and has a sum of 75, we can obtain a sum of 73 either by replacing one of the numbers in LL with a number that is two less, or by replacing two of the numbers in LL with numbers that are each one less.

For example, the list 3,10,15,20,253,10,15,20,25 (one change to LL) has sum 73 as does the list 4,9,15,20,254,9,15,20,25 (two changes to LL).

That is, to obtain a sum of 73 while choosing exactly one number from each row, we must choose at least three of the numbers from LL.

However, since two numbers in LL lie in column 1 and three numbers from LL lie in column 5, it is not possible to choose at least three numbers from LL so that no two of the numbers are from the same column.

Any other replacement would give a sum less than 73, which would require the replacement of a number with a larger number in another row to compensate. This is impossible since each row is represented in LL by the largest number in the row.
Therefore, it is not possible to obtain a sum of 73.

Of the five answers given, the next largest answer is 71.

By choosing the numbers, 3,9,14,20,253,9,14,20,25 we obtain the sum 3+9+14+20+25=713+9+14+20+25=71 while satisfying the condition that no two numbers come from the same row and no two numbers come from the same column.

Thus, 71 is the largest possible sum that satisfies the given conditions.
Note: There are other choices of five numbers which also give a sum of 71 and satisfy the given conditions.

Want a route through all this instead of an archive? The track puts 2,444 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.