Maths Olympiad Prep

Library / /8 of 15

, 2024

Number theory Difficulty 6.6 National olympiad Prove it China

Find the smallest real number λ\lambda with the following property: For any positive integers aa, bb, nn where a+ba + b is not divisible by nn, there exists a positive integer k<nk < n such that
{akn}+{bkn}λ, \left\{ \frac{ak}{n} \right\} + \left\{ \frac{bk}{n} \right\} \le \lambda,
where {x}=xx\{x\} = x - \lfloor x \rfloor denotes the fractional part of xx.

Solution

Proof. The minimal λ\lambda is 23\frac{2}{3}.

First, we show λ23\lambda \ge \frac{2}{3}. Consider n=3n = 3 with a=b=1a = b = 1. For k=1,2k = 1, 2, we have:
{k3}+{k3}=2k323, \left\{ \frac{k}{3} \right\} + \left\{ \frac{k}{3} \right\} = \frac{2k}{3} \ge \frac{2}{3},
thus λ\lambda cannot be smaller than 23\frac{2}{3}.

Now we prove λ23\lambda \le \frac{2}{3}. Let nn be a positive integer and aa, bb positive integers with na+bn \nmid a + b. We need to find 1kn11 \le k \le n - 1 satisfying the inequality.

Case 1: n=2n = 2. Without loss of generality, take a=1a = 1, b=1b = 1. For k=1k = 1:
{12}+{12}=12<23. \left\{ \frac{1}{2} \right\} + \left\{ \frac{1}{2} \right\} = \frac{1}{2} < \frac{2}{3}.

Case 2: n3n \ge 3.

Subcase 2.1: gcd(a,n)=d>1\text{gcd}(a, n) = d > 1. Let k=ndkk = \frac{n}{d}k' where 1kd11 \le k' \le d - 1. Then:
{akn}+{bkn}={bkd}. \left\{ \frac{ak}{n} \right\} + \left\{ \frac{bk}{n} \right\} = \left\{ \frac{bk'}{d} \right\}.
Since {bkd}+{b(dk)d}{0,1}\left\{ \frac{bk'}{d} \right\} + \left\{ \frac{b(d-k')}{d} \right\} \in \{0, 1\}, taking k=1k' = 1 or d1d - 1 gives:
{bkd}12<23. \left\{ \frac{bk'}{d} \right\} \le \frac{1}{2} < \frac{2}{3}.

Subcase 2.2: gcd(a,n)=1\text{gcd}(a, n) = 1. Let tt be such that ta1(modn)ta \equiv 1 \pmod{n}. Replacing aa with ta(modn)ta \pmod{n} and bb with tb(modn)tb \pmod{n}, we may assume a=1a = 1 and 1bn21 \le b \le n - 2.
Let e=11nbn1ne = 1 - \frac{1}{n} - \frac{b}{n} \ge \frac{1}{n}.

When e13e \ge \frac{1}{3}: Take k=1k = 1:
{1n}+{bn}=1e23. \left\{ \frac{1}{n} \right\} + \left\{ \frac{b}{n} \right\} = 1 - e \le \frac{2}{3}.

When e<13e < \frac{1}{3}: Let kk be the smallest positive integer with ke13ke \ge \frac{1}{3}. Then:
k=13en3<n3+1n1. k = \left\lfloor \frac{1}{3e} \right\rfloor \le \left\lfloor \frac{n}{3} \right\rfloor < \frac{n}{3} + 1 \le n - 1.
Let e=lne = \frac{l}{n} where ll is integer and 3l<n3l < n (since e<13e < \frac{1}{3}). We have:
ke+kn(n+3l1)(l+1)3ln2(l+1)3l+11. ke + \frac{k}{n} \le \frac{(n + 3l - 1)(l + 1)}{3ln} \le \frac{2(l + 1)}{3l + 1} \le 1.

This implies:
{kn}+{kbn}=1ke23. \left\{ \frac{k}{n} \right\} + \left\{ \frac{kb}{n} \right\} = 1 - ke \le \frac{2}{3}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

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