Olympiad Maths Prep

Track / Stage 8 / 145 of 180 #1845 of 2000

Problem 1845

IMO Shortlist mid-range; USAMO P2/P5
Algebra Difficulty 8.6 Prove it 64th NMO Selection Tests for the Balkan and International Mathematical Olympiads · Romania

Determine all injective functions ff of the set of positive integers into itself satisfying the following condition: If SS is a finite set of positive integers such that sS1/s\sum_{s \in S} 1/s is an integer, then sS1/f(s)\sum_{s \in S} 1/f(s) is also an integer.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

We shall prove that the identity is the unique function satisfying the conditions in the statement. Clearly, f(1)=1f(1) = 1, so f(n)2f(n) \ge 2 if n2n \ge 2, by injectivity. We will use the following well-known result.

Egyptian fractions theorem. For every positive rational rr and positive integer nn, there exists a finite set SS of integers greater than nn such that r=sS1/sr = \sum_{s \in S} 1/s.

Now, consider an integer n2n \ge 2 and use the Egyptian fractions theorem to write
11n=sS1s, where S is a finite set of integers greater than n(n+1), and 1 - \frac{1}{n} = \sum_{s \in S} \frac{1}{s}, \text{ where } S \text{ is a finite set of integers greater than } n(n+1), \text{ and}
get thereby
1=1n+sS1s=1n+1+1n(n+1)+sS1s. 1 = \frac{1}{n} + \sum_{s \in S} \frac{1}{s} = \frac{1}{n+1} + \frac{1}{n(n+1)} + \sum_{s \in S} \frac{1}{s}.
Both are positive integers, so
1f(n+1)+1f(n(n+1))1f(n) \frac{1}{f(n+1)} + \frac{1}{f(n(n+1))} - \frac{1}{f(n)}
is an integer. Since 121f(n)<1f(n+1)+1f(n(n+1))1f(n)<1f(n+1)+1f(n(n+1))12+12=1-\frac{1}{2} \le -\frac{1}{f(n)} < \frac{1}{f(n+1)} + \frac{1}{f(n(n+1))} - \frac{1}{f(n)} < \frac{1}{f(n+1)} + \frac{1}{f(n(n+1))} \le \frac{1}{2} + \frac{1}{2} = 1, it follows that 1f(n)=1f(n+1)+1f(n(n+1))\frac{1}{f(n)} = \frac{1}{f(n+1)} + \frac{1}{f(n(n+1))}. In particular, ff is strictly increasing, so f(n)nf(n) \ge n.

Finally, proceed by induction on n2n \ge 2 to prove that f(n)=nf(n) = n. To show that f(2)=2f(2) = 2, simply notice that 2/f(2)=1/f(2)+1/f(3)+1/f(6)2/f(2) = 1/f(2) + 1/f(3) + 1/f(6) is a positive integer not exceeding 1. To complete the proof, let f(n)=nf(n) = n for some n2n \ge 2 and write
1n=1f(n)=1f(n+1)+1f(n(n+1))1n+1+1n(n+1)=1n \frac{1}{n} = \frac{1}{f(n)} = \frac{1}{f(n+1)} + \frac{1}{f(n(n+1))} \le \frac{1}{n+1} + \frac{1}{n(n+1)} = \frac{1}{n}
to conclude that f(n+1)=n+1f(n+1) = n+1.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.