Olympiad Maths Prep

Track / Stage 10 / 21 of 40 #1981 of 2000

Problem 1981

Hardest shortlist tier
Number theory Difficulty 9.2 Prove it 56th International Mathematical Olympiad Shortlisted Problems · IMO

For every positive integer nn with prime factorization n=i=1kpiαin=\prod_{i=1}^{k} p_{i}^{\alpha_{i}}, define
(n)=i:pi>10100αi \mho(n)=\sum_{i: p_{i}>10^{100}} \alpha_{i}
That is, (n)\mho(n) is the number of prime factors of nn greater than 1010010^{100}, counted with multiplicity.
Find all strictly increasing functions f:ZZf: \mathbb{Z} \rightarrow \mathbb{Z} such that
(f(a)f(b))(ab) for all integers a and b with a>b. \mho(f(a)-f(b)) \leqslant \mho(a-b) \quad \text{ for all integers } a \text{ and } b \text{ with } a>b .

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

Answer. f(x)=ax+bf(x)=a x+b, where bb is an arbitrary integer, and aa is an arbitrary positive integer with (a)=0\mho(a)=0.

A straightforward check shows that all the functions listed in the answer satisfy the problem condition. It remains to show the converse.

Assume that ff is a function satisfying the problem condition. Notice that the function g(x)=f(x)f(0)g(x)=f(x)-f(0) also satisfies this condition. Replacing ff by gg, we assume from now on that f(0)=0f(0)=0; then f(n)>0f(n)>0 for any positive integer nn. Thus, we aim to prove that there exists a positive integer aa with (a)=0\mho(a)=0 such that f(n)=anf(n)=a n for all nZn \in \mathbb{Z}.

We start by introducing some notation. Set N=10100N=10^{100}. We say that a prime pp is large if p>Np>N, and pp is small otherwise; let S\mathcal{S} be the set of all small primes. Next, we say that a positive integer is large or small if all its prime factors are such (thus, the number 1 is the unique number which is both large and small). For a positive integer kk, we denote the greatest large divisor of kk and the greatest small divisor of kk by L(k)L(k) and S(k)S(k), respectively; thus, k=L(k)S(k)k=L(k) S(k).

We split the proof into three steps.

Step 1. We prove that for every large kk, we have kf(a)f(b)kabk|f(a)-f(b) \Longleftrightarrow k| a-b. In other words, L(f(a)f(b))=L(ab)L(f(a)-f(b))=L(a-b) for all integers aa and bb with a>ba>b.

We use induction on kk. The base case k=1k=1 is trivial. For the induction step, assume that k0k_{0} is a large number, and that the statement holds for all large numbers kk with k<k0k<k_{0}.

Claim 1. For any integers xx and yy with 0<xy<k00<x-y<k_{0}, the number k0k_{0} does not divide f(x)f(y)f(x)-f(y).

Proof. Assume, to the contrary, that k0f(x)f(y)k_{0} \mid f(x)-f(y). Let =L(xy)\ell=L(x-y); then xy<k0\ell \leqslant x-y<k_{0}. By the induction hypothesis, f(x)f(y)\ell \mid f(x)-f(y), and thus lcm(k0,)f(x)f(y)\operatorname{lcm}\left(k_{0}, \ell\right) \mid f(x)-f(y). Notice that lcm(k0,)\operatorname{lcm}\left(k_{0}, \ell\right) is large, and lcm(k0,)k0>\operatorname{lcm}\left(k_{0}, \ell\right) \geqslant k_{0}>\ell. But then
(f(x)f(y))(lcm(k0,))>()=(xy) \mho(f(x)-f(y)) \geqslant \mho\left(\operatorname{lcm}\left(k_{0}, \ell\right)\right)>\mho(\ell)=\mho(x-y)
which is impossible.

Now we complete the induction step. By Claim 1, for every integer aa each of the sequences
f(a),f(a+1),,f(a+k01) and f(a+1),f(a+2),,f(a+k0) f(a), f(a+1), \ldots, f\left(a+k_{0}-1\right) \quad \text{ and } \quad f(a+1), f(a+2), \ldots, f\left(a+k_{0}\right)
forms a complete residue system modulo k0k_{0}. This yields f(a)f(a+k0)(modk0)f(a) \equiv f\left(a+k_{0}\right)\left(\bmod k_{0}\right). Thus, f(a)f(b)(modk0)f(a) \equiv f(b)\left(\bmod k_{0}\right) whenever ab(modk0)a \equiv b\left(\bmod k_{0}\right).

Finally, if a≢b(modk0)a \not \equiv b\left(\bmod k_{0}\right) then there exists an integer bb^{\prime} such that bb(modk0)b^{\prime} \equiv b\left(\bmod k_{0}\right) and ab<k0\left|a-b^{\prime}\right|<k_{0}. Then f(b)f(b)≢f(a)(modk0)f(b) \equiv f\left(b^{\prime}\right) \not \equiv f(a)\left(\bmod k_{0}\right). The induction step is proved.

Step 2. We prove that for some small integer a there exist infinitely many integers nn such that f(n)=anf(n)=a n. In other words, ff is linear on some infinite set.

We start with the following general statement.

Claim 2. There exists a constant cc such that f(t)<ctf(t)<c t for every positive integer t>Nt>N.

Proof. Let dd be the product of all small primes, and let α\alpha be a positive integer such that 2α>f(N)2^{\alpha}>f(N). Then, for every pSp \in \mathcal{S} the numbers f(0),f(1),,f(N)f(0), f(1), \ldots, f(N) are distinct modulo pαp^{\alpha}. Set P=dαP=d^{\alpha} and c=P+f(N)c=P+f(N).

Choose any integer t>Nt>N. Due to the choice of α\alpha, for every pSp \in \mathcal{S} there exists at most one nonnegative integer iNi \leqslant N with pαf(t)f(i)p^{\alpha} \mid f(t)-f(i). Since S<N|\mathcal{S}|<N, we can choose a nonnegative integer jNj \leqslant N such that pαf(t)f(j)p^{\alpha} \nmid f(t)-f(j) for all pSp \in \mathcal{S}. Therefore, S(f(t)f(j))<PS(f(t)-f(j))<P.

On the other hand, Step 1 shows that L(f(t)f(j))=L(tj)tjL(f(t)-f(j))=L(t-j) \leqslant t-j. Since 0jN0 \leqslant j \leqslant N, this yields
f(t)=f(j)+L(f(t)f(j))S(f(t)f(j))<f(N)+(tj)P(P+f(N))t=ct f(t)=f(j)+L(f(t)-f(j)) \cdot S(f(t)-f(j))<f(N)+(t-j) P \leqslant(P+f(N)) t=c t

Now let T\mathcal{T} be the set of large primes. For every tTt \in \mathcal{T}, Step 1 implies L(f(t))=tL(f(t))=t, so the ratio f(t)/tf(t) / t is an integer. Now Claim 2 leaves us with only finitely many choices for this ratio, which means that there exists an infinite subset TT\mathcal{T}^{\prime} \subseteq \mathcal{T} and a positive integer a such that f(t)=atf(t)=a t for all tTt \in \mathcal{T}^{\prime}, as required.

Since L(t)=L(f(t))=L(a)L(t)L(t)=L(f(t))=L(a) L(t) for all tTt \in \mathcal{T}^{\prime}, we get L(a)=1L(a)=1, so the number aa is small.

Step 3. We show that f(x)=axf(x)=a x for all xZx \in \mathbb{Z}.

Let Ri={xZ:xi(modN!)}R_{i}=\{x \in \mathbb{Z}: x \equiv i(\bmod N!)\} denote the residue class of ii modulo N!N!.

Claim 3. Assume that for some rr, there are infinitely many nRrn \in R_{r} such that f(n)=anf(n)=a n. Then f(x)=axf(x)=a x for all xRr+1x \in R_{r+1}.

Proof. Choose any xRr+1x \in R_{r+1}. By our assumption, we can select nRrn \in R_{r} such that f(n)=anf(n)=a n and nx>f(x)ax|n-x|>|f(x)-a x|. Since nxr(r+1)=1(modN!)n-x \equiv r-(r+1)=-1(\bmod N!), the number nx|n-x| is large. Therefore, by Step 1 we have f(x)f(n)=anax(modnx)f(x) \equiv f(n)=a n \equiv a x(\bmod n-x), so nxf(x)axn-x \mid f(x)-a x. Due to the choice of nn, this yields f(x)=axf(x)=a x.

To complete Step 3, notice that the set T\mathcal{T}^{\prime} found in Step 2 contains infinitely many elements of some residue class RiR_{i}. Applying Claim 3, we successively obtain that f(x)=axf(x)=a x for all xRi+1,Ri+2,,Ri+N!=Rix \in R_{i+1}, R_{i+2}, \ldots, R_{i+N!}=R_{i}. This finishes the solution.

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