Olympiad Maths Prep

Track / Stage 8 / 81 of 180 #1781 of 2000

Problem 1781

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.2 Prove it IMO Problem Shortlist · IMO

Let ff be a non-constant function from the set of positive integers into the set of positive integers, such that aba-b divides f(a)f(b)f(a)-f(b) for all distinct positive integers a,ba, b. Prove that there exist infinitely many primes pp such that pp divides f(c)f(c) for some positive integer cc.

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 solutions — 2

Solution 1

Assume that there are only finitely many primes p1,p2,,pmp_{1}, p_{2}, \ldots, p_{m} that divide some function value produced of ff.
There are infinitely many positive integers aa such that vpi(a)>vpi(f(1))v_{p_{i}}(a)>v_{p_{i}}(f(1)) for all i=1,2,,mi=1,2, \ldots, m, e.g. a=(p1p2pm)αa=\left(p_{1} p_{2} \ldots p_{m}\right)^{\alpha} with α\alpha sufficiently large. Pick any such aa. The condition of the problem then yields a(f(a+1)f(1))a \mid (f(a+1)-f(1)). Assume f(a+1)f(1)f(a+1) \neq f(1). Then we must have vpi(f(a+1))vpi(f(1))v_{p_{i}}(f(a+1)) \neq v_{p_{i}}(f(1)) for at least one ii. This yields vpi(f(a+1)f(1))=min{vpi(f(a+1)),vpi(f(1))}vp1(f(1))<vpi(a)v_{p_{i}}(f(a+1)-f(1))=\min \left\{v_{p_{i}}(f(a+1)), v_{p_{i}}(f(1))\right\} \leq v_{p_{1}}(f(1))<v_{p_{i}}(a). But this contradicts the fact that a(f(a+1)f(1))a \mid (f(a+1)-f(1)).
Hence we must have f(a+1)=f(1)f(a+1)=f(1) for all such aa.
Now, for any positive integer bb and all such aa, we have (a+1b)(f(a+1)f(b))(a+1-b) \mid (f(a+1)-f(b)), i.e., (a+1b)(f(1)f(b))(a+1-b) \mid (f(1)-f(b)). Since this is true for infinitely many positive integers aa we must have f(b)=f(1)f(b)=f(1). Hence ff is a constant function, a contradiction. Therefore, our initial assumption was false and there are indeed infinitely many primes pp dividing f(c)f(c) for some positive integer cc.

Solution 2

Assume that there are only finitely many primes p1,p2,,pmp_{1}, p_{2}, \ldots, p_{m} that divide some function value of ff. Since ff is not identically 11, we must have m1m \geq 1.
Then there exist non-negative integers α1,,αm\alpha_{1}, \ldots, \alpha_{m} such that
f(1)=p1α1p2α2pmαm f(1)=p_{1}^{\alpha_{1}} p_{2}^{\alpha_{2}} \ldots p_{m}^{\alpha_{m}}
We can pick a positive integer rr such that f(r)f(1)f(r) \neq f(1). Let
M=1+p1α1+1p2α2+1pmαm+1(f(r)+r) M=1+p_{1}^{\alpha_{1}+1} p_{2}^{\alpha_{2}+1} \ldots p_{m}^{\alpha_{m}+1} \cdot (f(r)+r)
Then for all i{1,,m}i \in \{1, \ldots, m\} we have that piαi+1p_{i}^{\alpha_{i}+1} divides M1M-1 and hence by the condition of the problem also f(M)f(1)f(M)-f(1). This implies that f(M)f(M) is divisible by piαip_{i}^{\alpha_{i}} but not by piαi+1p_{i}^{\alpha_{i}+1} for all ii and therefore f(M)=f(1)f(M)=f(1).
Hence
Mr>p1α1+1p2α2+1pmαm+1(f(r)+r)rp1α1+1p2α2+1pmαm+1+(f(r)+r)r>p1α1p2α2pmαm+f(r)f(M)f(r) \begin{aligned} M-r & >p_{1}^{\alpha_{1}+1} p_{2}^{\alpha_{2}+1} \ldots p_{m}^{\alpha_{m}+1} \cdot (f(r)+r)-r \\ & \geq p_{1}^{\alpha_{1}+1} p_{2}^{\alpha_{2}+1} \ldots p_{m}^{\alpha_{m}+1}+(f(r)+r)-r \\ & >p_{1}^{\alpha_{1}} p_{2}^{\alpha_{2}} \ldots p_{m}^{\alpha_{m}}+f(r) \\ & \geq |f(M)-f(r)| \end{aligned}
But since MrM-r divides f(M)f(r)f(M)-f(r) this can only be true if f(r)=f(M)=f(1)f(r)=f(M)=f(1), which contradicts the choice of rr.

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