Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Team Selection Test 1

Netherlands number theory

Problem

For a positive integer , we define as the average of all positive divisors of , and as the average of all positive integers such that . Find all positive integers for which .
Solution
Answer: and .

We first note that satisfies.

We now prove that for . Indeed, , so if and only if . This yields a partition of the positive integers with into pairs , which have mean . For , , so we see that the average of all the numbers with is also equal to . The number might have been double counted, but that does not matter since the average is .

Prime numbers do not satisfy, because then and .

Now suppose is a positive divisor of with unequal to and . Then we have , so , so , so .

Now suppose is compound. We can divide the positive divisors of into pairs . The pair has average , all other pairs have average , or it is just the number (in this case, holds). If is not the square of a prime number, we have a pair with average , a pair with average smaller than , and even possibly more pairs (or a single number) all with average smaller than , making the total average smaller than . If is the square of a prime number, we find . So does not satisfy.

Also does not satisfy, because while .

Finally, we check that and indeed satisfy:

: We have . : We have and .

We conclude that if and only if or .
Final answer
1 and 6

Techniques

Greatest common divisors (gcd)φ (Euler's totient)τ (number of divisors)σ (sum of divisors)