Maths Olympiad Prep

Library / /9 of 10

, 2023

Number theory Difficulty 8.9 Shortlist Prove it China

(1) Given coprime positive integers a,ba, b. Prove: There exist real numbers λ,β\lambda, \beta such that for any positive integer mm, it holds that
λmβk=1m1{akm}{bkm}λm+β. \lambda m - \beta \le \sum_{k=1}^{m-1} \left\{ \frac{ak}{m} \right\} \cdot \left\{ \frac{bk}{m} \right\} \le \lambda m + \beta.

(2) Prove: there exists a positive integer NN, such that for any prime p>Np > N, the following proposition holds:
If the positive integers a,b,ca, b, c satisfy that (a+b)(a+c)(b+c)(a+b)(a+c)(b+c) is not divisible by pp, then there exist at least p12\lfloor \frac{p}{12} \rfloor elements kk in the set {1,2,,p1}\{1, 2, \dots, p-1\} such that
{akp}+{bkp}+{ckp}1. \left\{ \frac{ak}{p} \right\} + \left\{ \frac{bk}{p} \right\} + \left\{ \frac{ck}{p} \right\} \le 1.
Here, x\lfloor x \rfloor represents the greatest integer not exceeding xx, and {x}=xx\{x\} = x - \lfloor x \rfloor represents the fractional part of xx.

Solution

(1) When mm is large, we expect that the summation in (i) is very close to the following integral:
0m{axm}{bxm}dx=m01{ax}{bx}dx. \int_{0}^{m} \left\{ \frac{ax}{m} \right\} \left\{ \frac{bx}{m} \right\} dx = m \cdot \int_{0}^{1} \{ax\}\{bx\}dx.
Hence, we will prove the inequality (i) for
λ=01{ax}{bx}dx,β=2(a+b). \lambda = \int_{0}^{1} \{ax\}\{bx\}dx, \quad \beta = 2(a+b).
To do this, we divide the summation and integral into several segments, and it suffices to prove that
k=1m1{akm}{bkm}0m{axm}{bxm}dx=k=0m112({akm}{bkm}+{a(k+1)m}{b(k+1)m})0m{axm}{bxm}dx(ii)k=0m112({akm}{bkm}+{a(k+1)m}{b(k+1)m})kk+1{axm}{bxm}dx \begin{aligned} & \left| \sum_{k=1}^{m-1} \left\{ \frac{ak}{m} \right\} \left\{ \frac{bk}{m} \right\} - \int_{0}^{m} \left\{ \frac{ax}{m} \right\} \left\{ \frac{bx}{m} \right\} dx \right| \\ & = \left| \sum_{k=0}^{m-1} \frac{1}{2} \left( \left\{ \frac{ak}{m} \right\} \left\{ \frac{bk}{m} \right\} + \left\{ \frac{a(k+1)}{m} \right\} \left\{ \frac{b(k+1)}{m} \right\} \right) - \int_{0}^{m} \left\{ \frac{ax}{m} \right\} \left\{ \frac{bx}{m} \right\} dx \right| \\ & (ii) \quad \le \sum_{k=0}^{m-1} \left| \frac{1}{2} \left( \left\{ \frac{ak}{m} \right\} \left\{ \frac{bk}{m} \right\} + \left\{ \frac{a(k+1)}{m} \right\} \left\{ \frac{b(k+1)}{m} \right\} \right) - \int_{k}^{k+1} \left\{ \frac{ax}{m} \right\} \left\{ \frac{bx}{m} \right\} dx \right| \end{aligned}
is less than or equal to 2(a+b)2(a+b).
If ma+bm \le a+b, each term in (ii) is not greater than 1, so the total sum is not greater than 2a+2b2a+2b. We now assume m>a+bm > a+b.
For each kk, we divide the discussion into two cases:
(a) If there exists a kk such that {akm}\{\frac{ak}{m}\} or {bkm}\{\frac{bk}{m}\} is discontinuous on (k,k+1](k, k+1]. There are at most a+b1a+b-1 such kk. Moreover, since the product {akm}{bkm}\{\frac{ak}{m}\}\{\frac{bk}{m}\} always takes values in [0,1][0, 1], the contribution of each corresponding term in (**) is at most a+b1a+b-1.
(b) If there exists a kk such that {akm}\{\frac{ak}{m}\} or {bkm}\{\frac{bk}{m}\} is continuous on (k,k+1](k, k+1]. Let x=k+δx = k+\delta (δ[0,1]\delta \in [0, 1]), then {akm}={bkm}+aδm\{\frac{ak}{m}\} = \{\frac{bk}{m}\} + \frac{a\delta}{m} or {bkm}={akm}+bδm\{\frac{bk}{m}\} = \{\frac{ak}{m}\} + \frac{b\delta}{m}. Let α={akm}\alpha = \{\frac{ak}{m}\} and β={bkm}\beta = \{\frac{bk}{m}\}.

The corresponding term in (ii) is then
12(αβ+(α+am)(β+bm))01(α+aδm)(β+bδm)dδ=(αβ+aβ2m+bα2m+ab2m2)(αβ+aβ2m+bα2m+ab3m2)=ab6m2. \begin{aligned} & \frac{1}{2} \left( \alpha\beta + (\alpha + \frac{a}{m})(\beta + \frac{b}{m}) \right) - \int_{0}^{1} (\alpha + \frac{a\delta}{m})(\beta + \frac{b\delta}{m}) d\delta \\ &= (\alpha\beta + \frac{a\beta}{2m} + \frac{b\alpha}{2m} + \frac{ab}{2m^2}) - (\alpha\beta + \frac{a\beta}{2m} + \frac{b\alpha}{2m} + \frac{ab}{3m^2}) = \frac{ab}{6m^2}. \end{aligned}
Combining the discussions in (a) and (b), we know that the summation in (ii) (when m>a+bm > a + b) is less than or equal to
a+b1+mab6m2<2(a+b)1. a + b - 1 + m \cdot \frac{ab}{6m^2} < 2(a + b) - 1.
This completes the proof of (1).

(2) Step 1: A refined estimation of (1).
We first calculate the value of λ=01{ax}{bx}dx\lambda = \int_{0}^{1} \{ax\}\{bx\}dx. Intuitively, this corresponds to integrating along the diagonal of the a×ba \times b grid, as shown in the left figure (a=4,b=3a = 4, b = 3). Since the function inside the integral actually only depends on the small square where the diagonal lies, we can translate the diagonal to a small square, as shown in the middle figure (here, the small square is appropriately enlarged). However, this small square can also be divided into abab rectangular blocks such that the path of integration exactly follows the diagonal, as shown in the right figure. This essentially corresponds to partitioning the integral 01\int_{0}^{1} into integrals from iab\frac{i}{ab} to i+1ab\frac{i+1}{ab} (0iab10 \le i \le ab-1). Note that inside each small square, {ax}\{ax\} and {bx}\{bx\} are both continuous.

Figure 1
Figure 2
Figure 3

We calculate specifically:
λ=01{ax}{bx}dx=1abi=0ab1ii+1{xb}{xa}dx(iii)=1abi=0ab1{i+12b}{i+12a}+1abi=0ab1ii+1({xb}{xa}{i+12b}{i+12a})dx \begin{aligned} \lambda &= \int_{0}^{1} \{ax\}\{bx\}dx = \frac{1}{ab} \sum_{i=0}^{ab-1} \int_{i}^{i+1} \left\{\frac{x}{b}\right\} \left\{\frac{x}{a}\right\} dx \\ (iii) \quad &= \frac{1}{ab} \sum_{i=0}^{ab-1} \left\{\frac{i+\frac{1}{2}}{b}\right\} \left\{\frac{i+\frac{1}{2}}{a}\right\} + \frac{1}{ab} \sum_{i=0}^{ab-1} \int_{i}^{i+1} \left( \left\{\frac{x}{b}\right\} \left\{\frac{x}{a}\right\} - \left\{\frac{i+\frac{1}{2}}{b}\right\} \left\{\frac{i+\frac{1}{2}}{a}\right\} \right) dx \end{aligned}
where each term on the right side of (iii) equals
1212({i+12+xb}{i+12+xa}{i+12b}{i+12a})dx=1212({i+12b}xa+{i+12a}xb+x2ab)dx=0+0+13ab((12)3(12)3)=112ab. \begin{align*} & \int_{-\frac{1}{2}}^{\frac{1}{2}} \left( \left\{ \frac{i + \frac{1}{2} + x}{b} \right\} \left\{ \frac{i + \frac{1}{2} + x}{a} \right\} - \left\{ \frac{i + \frac{1}{2}}{b} \right\} \left\{ \frac{i + \frac{1}{2}}{a} \right\} \right) dx \\ &= \int_{-\frac{1}{2}}^{\frac{1}{2}} \left( \left\{ \frac{i + \frac{1}{2}}{b} \right\} \frac{x}{a} + \left\{ \frac{i + \frac{1}{2}}{a} \right\} \frac{x}{b} + \frac{x^2}{ab} \right) dx \\ &= 0 + 0 + \frac{1}{3ab} \left( \left( \frac{1}{2} \right)^3 - \left( -\frac{1}{2} \right)^3 \right) = \frac{1}{12ab}. \end{align*}
Regarding the preceding summation in (iii), note that when ii takes values from {0,1,,ab1}\{0, 1, \dots, ab-1\}, the pairs of numbers ({ib},{ia})\left(\left\{\frac{i}{b}\right\}, \left\{\frac{i}{a}\right\}\right) exactly cover all the points in the set
{0,1a,,a1a}×{0,1b,,b1b}. \left\{0, \frac{1}{a}, \dots, \frac{a-1}{a}\right\} \times \left\{0, \frac{1}{b}, \dots, \frac{b-1}{b}\right\}.
From this, we know that
i=0ab1{i+12b}{i+12a}=j=0a1k=0b1{k+12b}{j+12a}=a2b2=ab4. \sum_{i=0}^{ab-1} \left\{ \frac{i + \frac{1}{2}}{b} \right\} \left\{ \frac{i + \frac{1}{2}}{a} \right\} = \sum_{j=0}^{a-1} \sum_{k=0}^{b-1} \left\{ \frac{k + \frac{1}{2}}{b} \right\} \left\{ \frac{j + \frac{1}{2}}{a} \right\} = \frac{a}{2} \cdot \frac{b}{2} = \frac{ab}{4}.
Combining the above results, we obtain
λ=1abab4+1abab112ab=14+112ab. \lambda = \frac{1}{ab} \cdot \frac{ab}{4} + \frac{1}{ab} \cdot ab \cdot \frac{1}{12ab} = \frac{1}{4} + \frac{1}{12ab}.
That is,
k=1m1{akm}{bkm}(m4+m12ab)2a+2b1. \left| \sum_{k=1}^{m-1} \left\{ \frac{ak}{m} \right\} \left\{ \frac{bk}{m} \right\} - \left( \frac{m}{4} + \frac{m}{12ab} \right) \right| \le 2|a| + 2|b| - 1.
Note that when mm is coprime to both aa and bb, since {akm}+{akm}=1\{\frac{ak}{m}\} + \{\frac{-ak}{m}\} = 1, the sum corresponding to (a,b)(a, b) and the sum corresponding to (a,b)(-a, b) add up to m12\frac{m-1}{2}. Therefore, the inequality holds when a,ba, b are taken as negative integers coprime to mm.
()k=1m1{akm}{bkm}(m4+m12ab)2a+2b. (*) \quad \left| \sum_{k=1}^{m-1} \left\{ \frac{ak}{m} \right\} \left\{ \frac{bk}{m} \right\} - \left( \frac{m}{4} + \frac{m}{12ab} \right) \right| \le 2|a| + 2|b|.

Step 2: Transform the problem into a summation similar to (1).
Let pp be a sufficiently large prime number (e.g., p>1015p > 10^{15}). The congruence symbol \equiv
used below denotes congruence modulo pp.
Let a,ba, b, and cc represent a1,a2a_1, a_2, and a3a_3 respectively, and let a4a_4 be chosen such that
a1+a2+a3+a40a_1 + a_2 + a_3 + a_4 \equiv 0. For k{1,2,,p1}k \in \{1, 2, \dots, p-1\}, let
hk={a1kp}+{a2kp}+{a3kp}+{a4kp}, h_k = \left\{ \frac{a_1 k}{p} \right\} + \left\{ \frac{a_2 k}{p} \right\} + \left\{ \frac{a_3 k}{p} \right\} + \left\{ \frac{a_4 k}{p} \right\},
It is easy to see that hkh_k is an integer and 0hk<40 \le h_k < 4, i.e., hk{0,1,2,3}h_k \in \{0, 1, 2, 3\}. Moreover,
{a1kp}+{a2kp}+{a3kp}1\{\frac{a_1 k}{p}\} + \{\frac{a_2 k}{p}\} + \{\frac{a_3 k}{p}\} \le 1 is equivalent to hk=0h_k = 0 or 1.
Let L0,L1,L2L_0, L_1, L_2, and L3L_3 be the number of occurrences of 0, 1, 2, and 3 respectively among h1,h2,,hp1h_1, h_2, \dots, h_{p-1}. We need to prove that L0+L1p12L_0 + L_1 \ge \lfloor \frac{p}{12} \rfloor.

If exactly tt out of a1,a2,a3,a4a_1, a_2, a_3, a_4 are not multiples of pp, then hpk=thkh_{p-k} = t - h_k. We have the following results: If t=0t=0, then L0=p1L_0 = p-1. If t=2t=2, then L1=p1L_1 = p-1. If t=3t=3, then L1=L2=p12L_1 = L_2 = \frac{p-1}{2}.
Without loss of generality, we assume that a1,a2,a3,a40a_1, a_2, a_3, a_4 \neq 0. In this case, L1=L3L_1 = L_3, and L1+L2+L3=p1L_1 + L_2 + L_3 = p-1. We can consider {akp}\{\frac{ak}{p}\} as a random variable, and the estimation of L1L_1 will be related to the variance of the sum hkh_k. Specifically, we consider the sum of squares:
k=1p1hk2=L1+4L2+9L3=4(p1)+2L1, \sum_{k=1}^{p-1} h_k^2 = L_1 + 4L_2 + 9L_3 = 4(p-1) + 2L_1,
On the other hand,
H=k=1p1hk2=k=1p1(i=14{aikp})(j=14{ajkp})=i=14j=14(k=1p1{aikp}{ajkp}). H = \sum_{k=1}^{p-1} h_k^2 = \sum_{k=1}^{p-1} \left( \sum_{i=1}^{4} \left\{ \frac{a_i k}{p} \right\} \right) \left( \sum_{j=1}^{4} \left\{ \frac{a_j k}{p} \right\} \right) = \sum_{i=1}^{4} \sum_{j=1}^{4} \left( \sum_{k=1}^{p-1} \left\{ \frac{a_i k}{p} \right\} \left\{ \frac{a_j k}{p} \right\} \right).
For any a,b0a, b \neq 0, let's define the function f(a,b)=k=1p1{akp}{bkp}f(a, b) = \sum_{k=1}^{p-1} \left\{ \frac{ak}{p} \right\} \left\{ \frac{bk}{p} \right\}. In particular,
f(ai,ai)=f(1,1)=12+22++(p1)2p2=p312+16p. f(a_i, a_i) = f(1, 1) = \frac{1^2 + 2^2 + \dots + (p-1)^2}{p^2} = \frac{p}{3} - \frac{1}{2} + \frac{1}{6p}.
Now, let's consider the sum of six terms F=1i<j4f(ai,aj)F = \sum_{1 \le i < j \le 4} f(a_i, a_j). Since H=2F+4f(1,1)=4(p1)+2L1H = 2F + 4f(1, 1) = 4(p-1) + 2L_1, the desired inequality L1p12L_1 \ge \lfloor \frac{p}{12} \rfloor holds if we have F1712pF \ge \frac{17}{12}p.

Step 3: Translating into estimates for a1,a2,a3,a4a_1, a_2, a_3, a_4.
We define an equivalence relation (a,b)(u,v)(a, b) \sim (u, v) if there exists r0r \neq 0 such that urau \equiv ra and vrbv \equiv rb. In this case,
f(u,v)=k=1p1{ukp}{vkp}=k=1p1{arkp}{brkp}=rk=1p1{arkp}{brkp}=f(a,b). f(u, v) = \sum_{k=1}^{p-1} \left\{ \frac{uk}{p} \right\} \left\{ \frac{vk}{p} \right\} = \sum_{k=1}^{p-1} \left\{ \frac{ark}{p} \right\} \left\{ \frac{brk}{p} \right\} = \sum_{rk=1}^{p-1} \left\{ \frac{a \cdot rk}{p} \right\} \left\{ \frac{b \cdot rk}{p} \right\} = f(a, b).
Thus, the value of the function f(ai,aj)f(a_i, a_j) depends only on the equivalence class of (ai,aj)(a_i, a_j). In particular, combining with the calculation in Step 1 (*), we have
()f(ai,aj)(p4+pgcd(ai,aj)212aiaj)2ai+ajgcd(ai,aj). (***) \qquad \left| f(a_i, a_j) - \left( \frac{p}{4} + p \frac{\gcd(a_i, a_j)^2}{12a_i a_j} \right) \right| \le 2 \frac{|a_i| + |a_j|}{\gcd(a_i, a_j)}.
To obtain a more accurate estimation of the values of f(ai,aj)f(a_i, a_j), we introduce additional considerations.
For any a,b0a, b \neq 0, let b1b^{-1} denote the modular inverse of bb modulo pp. Consider the residues modulo pp of the set 0,ab1,2×ab1,,p×ab10, ab^{-1}, 2 \times ab^{-1}, \dots, \lfloor \sqrt{p} \rfloor \times ab^{-1}. By the pigeonhole principle, there exist two residues whose difference is less than or equal to p\lfloor \sqrt{p} \rfloor. Therefore, there exist u,v±1,±2,,±pu, v \in \pm 1, \pm 2, \dots, \pm \lfloor \sqrt{p} \rfloor such that uv×ab1u \equiv v \times ab^{-1}, i.e., (u,v)(a,b)(u, v) \sim (a, b). (Here, we assume u>0u > 0, and we also assume that uu and vv are coprime; otherwise, we can replace them with u(u,v)\frac{u}{(u,v)} and v(u,v)\frac{v}{(u,v)}.)
For (ai,aj)(a_i, a_j), let (uij,vij)(u_{ij}, v_{ij}) be one of the pairs that satisfy the above condition. If there are multiple choices, we can select any of them, and let gij=1uijvijg_{ij} = \frac{1}{u_{ij}v_{ij}}. In this case, we have
f(ai,aj)=f(uij,vij), f(a_i, a_j) = f(u_{ij}, v_{ij}),
and according to Equation (***), we have:
f(ai,aj)(p4+p12uijvij)<4p. \left| f(a_i, a_j) - \left( \frac{p}{4} + \frac{p}{12u_{ij}v_{ij}} \right) \right| < 4\sqrt{p}.
Let G=1i<j4gij=1i<j41uijvijG = \sum_{1 \le i < j \le 4} g_{ij} = \sum_{1 \le i < j \le 4} \frac{1}{u_{ij}v_{ij}}, and let δ=105\delta = 10^{-5}. As long as (there exists a choice of gijg_{ij}) G1+δG \ge -1 + \delta, we have
F=i<jf(ai,aj)>i<j(p4+p12uijvij4p)=18+G12×p24p>1712p. F = \sum_{i<j} f(a_i, a_j) > \sum_{i<j} \left( \frac{p}{4} + \frac{p}{12u_{ij}v_{ij}} - 4\sqrt{p} \right) = \frac{18+G}{12} \times p - 24\sqrt{p} > \frac{17}{12}p.
The condition p(a+b)(a+c)(b+c)p \nmid (a+b)(a+c)(b+c) ensures that in the set a1,a2,a3,a4a_1, a_2, a_3, a_4,
For each pair (ai,aj)(a_i, a_j), since ai+aj0a_i+a_j \ne 0, we know that (uij,vij)(1,1)(u_{ij}, v_{ij}) \ne (1, -1), which implies gij12g_{ij} \ge -\frac{1}{2}. We call a pair (a,b)(a, b) “good” if there exist u,v±1,±2,,±10u, v \in \pm 1, \pm 2, \dots, \pm 10 such that (a,b)(u,v)(a, b) \sim (u, v). In this case, if (ai,aj)(a_i, a_j) is not a good pair, then gij=1uijvij111g_{ij} = \frac{1}{u_{ij}v_{ij}} \ge -\frac{1}{11}. If among the six pairs (ai,aj)(a_i, a_j), 1i<j41 \le i < j \le 4, there are either 0 or 1 good pairs, then G12+5×(111)=2122>1+δG \ge -\frac{1}{2} + 5 \times (-\frac{1}{11}) = -\frac{21}{22} > -1 + \delta.
Therefore, assuming there are at least two good pairs, we know that a1+a2+a3+a40a_1+a_2+a_3+a_4 \equiv 0 implies that the four numbers are in a (simple) proportion. For example:
If (a1,a2)(u1,v1)(a_1, a_2) \sim (u_1, v_1) and (a1,a3)(u2,v2)(a_1, a_3) \sim (u_2, v_2), then the four numbers are proportional to (u1u2,v1u2,v2u1,u1u2v1u2v2u1)(u_1u_2, v_1u_2, v_2u_1, -u_1u_2 - v_1u_2 - v_2u_1).
If (a1,a2)(u1,v1)(a_1, a_2) \sim (u_1, v_1) and (a3,a4)(u2,v2)(a_3, a_4) \sim (u_2, v_2), then the four numbers are proportional to (u1(u2+v2),v1(u2+v2),u2(u1+v1),v2(u1+v1))(u_1(u_2+v_2), v_1(u_2+v_2), -u_2(u_1+v_1), -v_2(u_1+v_1)).
In conclusion, there exists z1+z2+z3+z4=0z_1+z_2+z_3+z_4 = 0 such that (a1,a2,a3,a4)(z1,z2,z3,z4)(a_1, a_2, a_3, a_4) \sim (z_1, z_2, z_3, z_4) and 1zi3001 \le |z_i| \le 300, zi+zj0z_i + z_j \ne 0. In this case, we have (ai,aj)(zizizj,zjzizj)(a_i, a_j) \sim \left( \frac{z_i}{z_i z_j}, \frac{z_j}{z_i z_j} \right), which allows us to choose gi,j=(zi,zj)2zizjg_{i,j} = \frac{(z_i, z_j)^2}{z_i z_j}. We still focus on the value of G=i<jgi,jG = \sum_{i<j} g_{i,j}, and there are two simple proportions satisfying G=1G = 1:
* The four numbers form the “Golden Ratio 1” of (1:2:3:4)(1 : -2 : -3 : 4). Let a1=p1a_1 = p-1, a2=2a_2 = 2, a3=3a_3 = 3, a4=p4a_4 = p-4. In this case, hk=1h_k = 1 is equivalent to 2kp+3kpkp\frac{2k}{p} + \frac{3k}{p} \le \frac{k}{p}. Among the values k1,2,,p1k \in 1, 2, \dots, p-1, such kk satisfying 23p<k<34p\frac{2}{3}p < k < \frac{3}{4}p are counted as L1=34p23pp12L_1 = \lfloor \frac{3}{4}p \rfloor - \lfloor \frac{2}{3}p \rfloor \ge \lfloor \frac{p}{12} \rfloor.
* The four numbers form the “Golden Ratio 2” of (1:3:4:6)(1 : -3 : -4 : 6). Let a1=p1a_1 = p-1, a2=3a_2 = 3, a3=4a_3 = 4, a4=p6a_4 = p-6. In this case, hk=1h_k = 1 is equivalent to 3kp+4kpkp\frac{3k}{p} + \frac{4k}{p} \le \frac{k}{p}. Among the values k1,2,,p1k \in 1, 2, \dots, p-1, such kk satisfying 34p<k<56p\frac{3}{4}p < k < \frac{5}{6}p are counted as L1=56p34pp12L_1 = \lfloor \frac{5}{6}p \rfloor - \lfloor \frac{3}{4}p \rfloor \ge \lfloor \frac{p}{12} \rfloor.
Assuming (a1,a2,a3,a4)(z1,z2,z3,z4)(a_1, a_2, a_3, a_4) \sim (z_1, z_2, z_3, z_4) does not correspond to the two golden ratios mentioned above, we will prove that G1+δG \ge -1 + \delta. Let's consider the signs of z1,z2,z3,z4z_1, z_2, z_3, z_4.
If there are three positive and one negative (or three negative and one positive) numbers, without loss of generality, let z1,z2,z3>0z_1, z_2, z_3 > 0 and z4=(z1+z2+z3)z_4 = -(z_1 + z_2 + z_3). In this case, among the six terms in G=1i<j4g(zi,zj)G = \sum_{1 \le i < j \le 4} g(z_i, z_j), there are three positive and three negative terms. Specifically, g(zi,z4)=(zi,z4)2ziz4ziz4g(z_i, z_4) = -\frac{(z_i, z_4)^2}{z_i |z_4|} \ge -\frac{z_i}{|z_4|} for i=1,2,3i = 1, 2, 3, and g(z1,z2)1z1z2>δg(z_1, z_2) \ge \frac{1}{z_1 z_2} > \delta. Therefore, G>1+δG > -1 + \delta.
Assuming that z1,z2,z3,z4z_1, z_2, z_3, z_4 consist of two positive and two negative numbers, let z1,z4>0z_1, z_4 > 0 and z2,z3<0z_2, z_3 < 0.
If there exists zjzi=2\frac{z_j}{z_i} = -2, without loss of generality, let z1=u>0z_1 = u > 0, z2=2uz_2 = -2u. Let z3=v<0z_3 = -v < 0 and z4=u+vz_4 = u + v (where uu and vv are coprime). In this case,
G=121uv+1u(u+v)+(2,v)22uv(2,u+v)22u(u+v)1v(u+v) G = -\frac{1}{2} - \frac{1}{uv} + \frac{1}{u(u+v)} + \frac{(2, v)^2}{2uv} - \frac{(2, u+v)^2}{2u(u+v)} - \frac{1}{v(u+v)}
G121uv+1u(u+v)+12uv42u(u+v)1v(u+v)=1232uv>1+δ. G \geq -\frac{1}{2} - \frac{1}{uv} + \frac{1}{u(u+v)} + \frac{1}{2uv} - \frac{4}{2u(u+v)} - \frac{1}{v(u+v)} = -\frac{1}{2} - \frac{3}{2uv} > -1 + \delta.
The last step of the above derivation assumes that (u,v)(1,1),(2,1),(1,3),(3,1)(u, v) \neq (1, 1), (2, 1), (1, 3), (3, 1), which would lead to negations or the four numbers forming a golden ratio. Additionally, when (u,v)=(1,2)(u, v) = (1, 2), we have G=0G = 0. In any case, we have G>1+δG > -1 + \delta.
If there exists zjzi=3\frac{z_j}{z_i} = -3, without loss of generality, let z1=u>0z_1 = u > 0, z2=3uz_2 = -3u. Let z3=v<0z_3 = -v < 0 and z4=2u+vz_4 = 2u + v (where uu and vv are coprime). In this case,
G=131uv+1u(2u+v)+(3,v)23uv(3,2u+v)23u(2u+v)(2,v)2v(2u+v) G = -\frac{1}{3} - \frac{1}{uv} + \frac{1}{u(2u + v)} + \frac{(3, v)^2}{3uv} - \frac{(3, 2u + v)^2}{3u(2u + v)} - \frac{(2, v)^2}{v(2u + v)}
G131uv+1u(2u+v)+13uv93u(2u+v)4v(2u+v)=1383uv>1+δ. G \geq -\frac{1}{3} - \frac{1}{uv} + \frac{1}{u(2u + v)} + \frac{1}{3uv} - \frac{9}{3u(2u + v)} - \frac{4}{v(2u + v)} = -\frac{1}{3} - \frac{8}{3uv} > -1 + \delta.
The last step of the above derivation assumes that (u,v)(1,1),(1,2),(1,4)(u, v) \neq (1, 1), (1, 2), (1, 4), which would lead to negations or the four numbers forming a golden ratio. Additionally, when (u,v)=(2,1),(1,3),(3,1),(4,1)(u, v) = (2, 1), (1, 3), (3, 1), (4, 1), we have G=45,25,23,23G = -\frac{4}{5}, \frac{2}{5}, -\frac{2}{3}, -\frac{2}{3} respectively. In any case, we have G>1+δG > -1 + \delta.
If each zjzi2,3\frac{z_j}{z_i} \neq -2, -3, then the four negative terms in GG are all greater than or equal to 14-\frac{1}{4}, and the two positive terms are both greater than δ\delta. Therefore, we still have G>1+δG > -1 + \delta.
In conclusion, we have L1+L0p12L_1 + L_0 \geq \lfloor \frac{p}{12} \rfloor, and thus the conclusion of the problem is established. \square

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.