Maths Olympiad Prep

Track / Stage 6 / 265 of 400 #1745 of 2444

Problem 1745

National Olympiad, first round
Number theory Difficulty 6.5 Prove it Bay Area Mathematical Olympiad · United States

A positive integer NN is called stable if it is possible to split the set of all positive divisors of NN (including 11 and NN) into two subsets that have no elements in common, which have the same sum. For example, 66 is stable, because 1+2+3=61+2+3=6 but 1010 is not stable. Is 2200820082^{2008} \cdot 2008 stable?

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solutions — 2

Solution 1

Solution:
Yes. In general, let NN be a number of the form N=2kpN=2^{k} p, where pp is an odd prime less than 2k+12^{k+1}. We will show that one can form an expression, obtained by adding and subtracting together all the divisors of NN, which is equal to zero. First note that
2kp2k1pp=p. 2^{k} p-2^{k-1} p-\cdots-p=p .
The remaining divisors are 1,2,,2k1,2, \ldots, 2^{k}, whose sum is more than pp. Thus we are able to write (2k+11+p)/2\left(2^{k+1}-1+p\right) / 2 as a sum of some subset of the remaining divisors simply by considering its binary representation. Clearly the unused terms will sum to (2k+11p)/2\left(2^{k+1}-1-p\right) / 2. But the difference between these two quantities is pp, just as above. It is now clear how to form the desired expression involving all divisors of NN which evaluates to zero, and you're done.

If NN is to be stable, then the factors of NN can be put on either side of an equal sign, and when these factors are summed, you get an equality. The highest power of 22 that divides NN will either lie on the same side as NN, or the opposite side. The key idea of David's solution is the observation that if NN is stable and the highest power of 22 that divides NN lies on the opposite side of the equal sign from NN, then 2N2N is also stable.
For example, 1212 is stable, because
1+3+4+6=2+12, 1+3+4+6=2+12 \text{,}
and notice that 44 lies opposite 1212. To show that 2424 is stable, we let 44 and 1212 exchange places, and then add in the two new factors (88 and 2424), getting
1+3+12+6+8=4+24. 1+3+12+6+8=4+24 \text{.}
It is easy to see why this method works (verify it!)
The remainder of David's argument looks at 20082008, which is not stable, but he successively doubles it, making it more and more balanced, until he shows that 2008242008 \cdot 2^{4} is stable. Then the algorithm described above will show that 20082k2008 \cdot 2^{k} is stable for all k4k \geq 4.

Solution 2

Solution:
(Sketch) This solution, by David Spies of Albany High School, won the Brilliancy Award, because it used ideas that no other solution had.
If NN is to be stable, then the factors of NN can be put on either side of an equal sign, and when these factors are summed, you get an equality. The highest power of 22 that divides NN will either lie on the same side as NN, or the opposite side. The key idea of David's solution is the observation that if NN is stable and the highest power of 22 that divides NN lies on the opposite side of the equal sign from NN, then 2N2N is also stable.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.