Olympiad Maths Prep

Track / Stage 8 / 84 of 180 #1784 of 2000

Problem 1784

IMO Shortlist mid-range; USAMO P2/P5
Combinatorics Difficulty 8.4 Prove it

Each positive integer is coloured red or blue. A function ff from the set of positive integers to itself has the following two properties:

(a) if xyx\le y, then f(x)f(y)f(x)\le f(y); and
(b) if x,yx,y and zz are (not necessarily distinct) positive integers of the same colour and x+y=zx+y=z, then f(x)+f(y)=f(z)f(x)+f(y)=f(z).

Prove that there exists a positive number aa such that f(x)axf(x)\le ax for all positive integers xx.

[i](United Kingdom) Ben Elliott[/i]

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

1. Assume the existence of arbitrarily large red intervals:
Suppose there exist arbitrarily large red intervals. Pick any two red integers aa and bb and consider a red interval [M,M+ab][M, M+ab]. We should have:
f(M)+af(b)=f(M+b)+(a1)f(b)==f(M+ab)=f(M+aba)+f(a)==f(M)+bf(a) f(M) + af(b) = f(M+b) + (a-1)f(b) = \cdots = f(M+ab) = f(M+ab-a) + f(a) = \cdots = f(M) + bf(a)
Hence, f(x)=cxf(x) = cx for some c>0c > 0 on the red integers. The symmetric result holds for blue intervals. Thus, if there exist arbitrarily large monochrome intervals of both colors, we are immediately done.

2. Assume only one color has arbitrarily large intervals:
If there only exist arbitrarily large monochromatic intervals of one color—WLOG red—then there exists some t>0t > 0 such that blue intervals contain at most tt integers. Now, f(x)c(x+t)f(x) \leq c(x+t) in general if f(x)=cxf(x) = cx over red xx, which also finishes.

3. Assume bounded monochromatic intervals:
Suppose there exists some integer T>0T > 0 such that monochromatic red or blue intervals contain at most TT integers.

4. Lemma:
For any 2T+12T+1 consecutive positive integers, there exist r1,r2r_1, r_2 red and b1,b2b_1, b_2 blue among them such that r1+r2=b1+b2r_1 + r_2 = b_1 + b_2.

Proof:
If we can find two non-adjacent numbers of the same color (WLOG red) a,ba, b such that every a<x<ba < x < b is blue, we are done, since a+b=(a+1)+(b1)a + b = (a+1) + (b-1) and a+1a+1 and b1b-1 (not necessarily distinct) are blue by definition. If we split our 2T+12T+1 consecutive integers into maximal monochromatic "blocks", we need at least 3 blocks since each block is at most TT integers long. Hence, the rightmost number in the first block and the leftmost number in the third block will work. \blacksquare

5. **Define g(n)g(n):**
For nonnegative integers nn, let g(n)g(n) denote the maximum of f(t)t\frac{f(t)}{t} for 1t1.5n1000T1 \leq t \leq \lfloor 1.5^n \cdot 1000T \rfloor. Clearly, it suffices to show that gg is bounded above. This will follow from the following key claim after some algebra.

6. Claim:
We have:
g(n+1)g(0)i=0n(1+4T+11000T1.5i) g(n+1) \leq g(0) \prod_{i=0}^n \left(1 + \frac{4T+1}{1000T} 1.5^{-i}\right)

Proof:
Pick some 1.5n1000T<t1.5n+11000T\lfloor 1.5^n \cdot 1000T \rfloor < t \leq \lfloor 1.5^{n+1} \cdot 1000T \rfloor. Let m=t/2m = \lceil t/2 \rceil; by the lemma, there exist red r1,r2r_1, r_2 and blue b1,b2b_1, b_2 among {m,,m+2T}\{m, \ldots, m+2T\} such that r1+r2=b1+b2:=kr_1 + r_2 = b_1 + b_2 := k, so:
t2mk2m+4Tt+4T+1 t \leq 2m \leq k \leq 2m + 4T \leq t + 4T + 1
Now, regardless of the color of kk, we have:
f(k)kmax(f(r1)r1,f(r2)r2,f(b1)b1,f(b2)b2)g(n) \frac{f(k)}{k} \leq \max\left(\frac{f(r_1)}{r_1}, \frac{f(r_2)}{r_2}, \frac{f(b_1)}{b_1}, \frac{f(b_2)}{b_2}\right) \leq g(n)
since we have m+2T1.5n1000Tm + 2T \leq \lfloor 1.5^n \cdot 1000T \rfloor. Thus:
f(t)f(k)kg(n)    f(t)tktg(n)(1+4T+11.5n1000T)g(n) f(t) \leq f(k) \leq kg(n) \implies \frac{f(t)}{t} \leq \frac{k}{t} g(n) \leq \left(1 + \frac{4T+1}{1.5^n \cdot 1000T}\right) g(n)
So g(n+1)g(n+1) is at most the RHS since tt is arbitrarily chosen. This finishes by induction. \blacksquare

7. **Bound g(n)g(n):**
Since g(0)g(0) is finite, it suffices to show that:
i=0(1+4T+11000T1.5i) \prod_{i=0}^\infty \left(1 + \frac{4T+1}{1000T} 1.5^{-i}\right)
converges. Since every term is at least 1, by taking logs it suffices to show that:
i=0ln(1+4T+11000T1.5i) \sum_{i=0}^\infty \ln \left(1 + \frac{4T+1}{1000T} 1.5^{-i}\right)
converges. Using the well-known inequality ln(1+x)x\ln(1+x) \leq x, it suffices to show that:
i=04T+11000T1.5i \sum_{i=0}^\infty \frac{4T+1}{1000T} 1.5^{-i}
converges, which is obviously true. \blacksquare

The final answer is f(x)ax \boxed{ f(x) \leq ax } for some positive number aa.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.