IMO 2011 #1
by Wolstenholme, Oct 29, 2014, 2:53 PM
Given any set
of four distinct positive integers, we denote the sum
by
. Let
denote the number of pairs
with
for which
divides
. Find all sets
of four distinct positive integers which achieve the largest possible value of
.
Solution:
Assume WLOG that
. Then since
we have that
and
cannot divide
. Therefore the largest possible value of
is
. From now on, assume
.
Then since
we have that
and vice-versa, so
.
So after some manipulation we get the identities
and
But since
we have that
where
or
. We now proceed with casework.
Case 1:
Then
so
. Plugging this into our other identity and manipulating we obtain
But since
we have that
where
or
or
or
or 
Case 1.1:
We get the solution set
for all 
Case 1.2
We get the solution set
for all 
Case 1.3
We get
contradiction!
Case 1.4:
We get
contradiction!
Case 1.5:
We get that
is negative, contradiction!
Case 2:
Then
so
. Plugging this into our other identity and manipulating we obtain
But since
we have that
where
or
or 
Case 2.1:
We get that
contradiction!
Case 2.2:
We get that
contradiction!
Case 2.3:
We get that
is negative, contradiction!
Therefore the only solutions are
and their permutations.










Solution:
Assume WLOG that








Then since



So after some manipulation we get the identities






Case 1:

Then










Case 1.1:

We get the solution set


Case 1.2

We get the solution set


Case 1.3

We get

Case 1.4:

We get

Case 1.5:

We get that

Case 2:

Then








Case 2.1:

We get that

Case 2.2:

We get that

Case 2.3:

We get that

Therefore the only solutions are
