(1) Given coprime positive integers a,b. Prove: There exist real numbers λ,β such that for any positive integer m, it holds that λm−β≤k=1∑m−1{mak}⋅{mbk}≤λm+β.
(2) Prove: there exists a positive integer N, such that for any prime p>N, the following proposition holds: If the positive integers a,b,c satisfy that (a+b)(a+c)(b+c) is not divisible by p, then there exist at least ⌊12p⌋ elements k in the set {1,2,…,p−1} such that {pak}+{pbk}+{pck}≤1. Here, ⌊x⌋ represents the greatest integer not exceeding x, and {x}=x−⌊x⌋ represents the fractional part of x.
Solution
(1) When m is large, we expect that the summation in (i) is very close to the following integral: ∫0m{max}{mbx}dx=m⋅∫01{ax}{bx}dx. Hence, we will prove the inequality (i) for λ=∫01{ax}{bx}dx,β=2(a+b). To do this, we divide the summation and integral into several segments, and it suffices to prove that k=1∑m−1{mak}{mbk}−∫0m{max}{mbx}dx=k=0∑m−121({mak}{mbk}+{ma(k+1)}{mb(k+1)})−∫0m{max}{mbx}dx(ii)≤k=0∑m−121({mak}{mbk}+{ma(k+1)}{mb(k+1)})−∫kk+1{max}{mbx}dx is less than or equal to 2(a+b). If m≤a+b, each term in (ii) is not greater than 1, so the total sum is not greater than 2a+2b. We now assume m>a+b. For each k, we divide the discussion into two cases: (a) If there exists a k such that {mak} or {mbk} is discontinuous on (k,k+1]. There are at most a+b−1 such k. Moreover, since the product {mak}{mbk} always takes values in [0,1], the contribution of each corresponding term in (**) is at most a+b−1. (b) If there exists a k such that {mak} or {mbk} is continuous on (k,k+1]. Let x=k+δ (δ∈[0,1]), then {mak}={mbk}+maδ or {mbk}={mak}+mbδ. Let α={mak} and β={mbk}.
The corresponding term in (ii) is then 21(αβ+(α+ma)(β+mb))−∫01(α+maδ)(β+mbδ)dδ=(αβ+2maβ+2mbα+2m2ab)−(αβ+2maβ+2mbα+3m2ab)=6m2ab. Combining the discussions in (a) and (b), we know that the summation in (ii) (when m>a+b) is less than or equal to a+b−1+m⋅6m2ab<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. Intuitively, this corresponds to integrating along the diagonal of the a×b grid, as shown in the left figure (a=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 ab 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 into integrals from abi to abi+1 (0≤i≤ab−1). Note that inside each small square, {ax} and {bx} are both continuous.
We calculate specifically: λ(iii)=∫01{ax}{bx}dx=ab1i=0∑ab−1∫ii+1{bx}{ax}dx=ab1i=0∑ab−1{bi+21}{ai+21}+ab1i=0∑ab−1∫ii+1({bx}{ax}−{bi+21}{ai+21})dx where each term on the right side of (iii) equals ∫−2121({bi+21+x}{ai+21+x}−{bi+21}{ai+21})dx=∫−2121({bi+21}ax+{ai+21}bx+abx2)dx=0+0+3ab1((21)3−(−21)3)=12ab1. Regarding the preceding summation in (iii), note that when i takes values from {0,1,…,ab−1}, the pairs of numbers ({bi},{ai}) exactly cover all the points in the set {0,a1,…,aa−1}×{0,b1,…,bb−1}. From this, we know that i=0∑ab−1{bi+21}{ai+21}=j=0∑a−1k=0∑b−1{bk+21}{aj+21}=2a⋅2b=4ab. Combining the above results, we obtain λ=ab1⋅4ab+ab1⋅ab⋅12ab1=41+12ab1. That is, k=1∑m−1{mak}{mbk}−(4m+12abm)≤2∣a∣+2∣b∣−1. Note that when m is coprime to both a and b, since {mak}+{m−ak}=1, the sum corresponding to (a,b) and the sum corresponding to (−a,b) add up to 2m−1. Therefore, the inequality holds when a,b are taken as negative integers coprime to m. (∗)k=1∑m−1{mak}{mbk}−(4m+12abm)≤2∣a∣+2∣b∣.
Step 2: Transform the problem into a summation similar to (1). Let p be a sufficiently large prime number (e.g., p>1015). The congruence symbol ≡ used below denotes congruence modulo p. Let a,b, and c represent a1,a2, and a3 respectively, and let a4 be chosen such that a1+a2+a3+a4≡0. For k∈{1,2,…,p−1}, let hk={pa1k}+{pa2k}+{pa3k}+{pa4k}, It is easy to see that hk is an integer and 0≤hk<4, i.e., hk∈{0,1,2,3}. Moreover, {pa1k}+{pa2k}+{pa3k}≤1 is equivalent to hk=0 or 1. Let L0,L1,L2, and L3 be the number of occurrences of 0, 1, 2, and 3 respectively among h1,h2,…,hp−1. We need to prove that L0+L1≥⌊12p⌋.
If exactly t out of a1,a2,a3,a4 are not multiples of p, then hp−k=t−hk. We have the following results: If t=0, then L0=p−1. If t=2, then L1=p−1. If t=3, then L1=L2=2p−1. Without loss of generality, we assume that a1,a2,a3,a4=0. In this case, L1=L3, and L1+L2+L3=p−1. We can consider {pak} as a random variable, and the estimation of L1 will be related to the variance of the sum hk. Specifically, we consider the sum of squares: k=1∑p−1hk2=L1+4L2+9L3=4(p−1)+2L1, On the other hand, H=k=1∑p−1hk2=k=1∑p−1(i=1∑4{paik})(j=1∑4{pajk})=i=1∑4j=1∑4(k=1∑p−1{paik}{pajk}). For any a,b=0, let's define the function f(a,b)=∑k=1p−1{pak}{pbk}. In particular, f(ai,ai)=f(1,1)=p212+22+⋯+(p−1)2=3p−21+6p1. Now, let's consider the sum of six terms F=∑1≤i<j≤4f(ai,aj). Since H=2F+4f(1,1)=4(p−1)+2L1, the desired inequality L1≥⌊12p⌋ holds if we have F≥1217p.
Step 3: Translating into estimates for a1,a2,a3,a4. We define an equivalence relation (a,b)∼(u,v) if there exists r=0 such that u≡ra and v≡rb. In this case, f(u,v)=k=1∑p−1{puk}{pvk}=k=1∑p−1{park}{pbrk}=rk=1∑p−1{pa⋅rk}{pb⋅rk}=f(a,b). Thus, the value of the function f(ai,aj) depends only on the equivalence class of (ai,aj). In particular, combining with the calculation in Step 1 (*), we have (∗∗∗)f(ai,aj)−(4p+p12aiajgcd(ai,aj)2)≤2gcd(ai,aj)∣ai∣+∣aj∣. To obtain a more accurate estimation of the values of f(ai,aj), we introduce additional considerations. For any a,b=0, let b−1 denote the modular inverse of b modulo p. Consider the residues modulo p of the set 0,ab−1,2×ab−1,…,⌊p⌋×ab−1. By the pigeonhole principle, there exist two residues whose difference is less than or equal to ⌊p⌋. Therefore, there exist u,v∈±1,±2,…,±⌊p⌋ such that u≡v×ab−1, i.e., (u,v)∼(a,b). (Here, we assume u>0, and we also assume that u and v are coprime; otherwise, we can replace them with (u,v)u and (u,v)v.) For (ai,aj), let (uij,vij) be one of the pairs that satisfy the above condition. If there are multiple choices, we can select any of them, and let gij=uijvij1. In this case, we have f(ai,aj)=f(uij,vij), and according to Equation (***), we have: f(ai,aj)−(4p+12uijvijp)<4p. Let G=∑1≤i<j≤4gij=∑1≤i<j≤4uijvij1, and let δ=10−5. As long as (there exists a choice of gij) G≥−1+δ, we have F=i<j∑f(ai,aj)>i<j∑(4p+12uijvijp−4p)=1218+G×p−24p>1217p. The condition p∤(a+b)(a+c)(b+c) ensures that in the set a1,a2,a3,a4, For each pair (ai,aj), since ai+aj=0, we know that (uij,vij)=(1,−1), which implies gij≥−21. We call a pair (a,b) “good” if there exist u,v∈±1,±2,…,±10 such that (a,b)∼(u,v). In this case, if (ai,aj) is not a good pair, then gij=uijvij1≥−111. If among the six pairs (ai,aj), 1≤i<j≤4, there are either 0 or 1 good pairs, then G≥−21+5×(−111)=−2221>−1+δ. Therefore, assuming there are at least two good pairs, we know that a1+a2+a3+a4≡0 implies that the four numbers are in a (simple) proportion. For example: If (a1,a2)∼(u1,v1) and (a1,a3)∼(u2,v2), then the four numbers are proportional to (u1u2,v1u2,v2u1,−u1u2−v1u2−v2u1). If (a1,a2)∼(u1,v1) and (a3,a4)∼(u2,v2), then the four numbers are proportional to (u1(u2+v2),v1(u2+v2),−u2(u1+v1),−v2(u1+v1)). In conclusion, there exists z1+z2+z3+z4=0 such that (a1,a2,a3,a4)∼(z1,z2,z3,z4) and 1≤∣zi∣≤300, zi+zj=0. In this case, we have (ai,aj)∼(zizjzi,zizjzj), which allows us to choose gi,j=zizj(zi,zj)2. We still focus on the value of G=∑i<jgi,j, and there are two simple proportions satisfying G=1: * The four numbers form the “Golden Ratio 1” of (1:−2:−3:4). Let a1=p−1, a2=2, a3=3, a4=p−4. In this case, hk=1 is equivalent to p2k+p3k≤pk. Among the values k∈1,2,…,p−1, such k satisfying 32p<k<43p are counted as L1=⌊43p⌋−⌊32p⌋≥⌊12p⌋. * The four numbers form the “Golden Ratio 2” of (1:−3:−4:6). Let a1=p−1, a2=3, a3=4, a4=p−6. In this case, hk=1 is equivalent to p3k+p4k≤pk. Among the values k∈1,2,…,p−1, such k satisfying 43p<k<65p are counted as L1=⌊65p⌋−⌊43p⌋≥⌊12p⌋. Assuming (a1,a2,a3,a4)∼(z1,z2,z3,z4) does not correspond to the two golden ratios mentioned above, we will prove that G≥−1+δ. Let's consider the signs of z1,z2,z3,z4. If there are three positive and one negative (or three negative and one positive) numbers, without loss of generality, let z1,z2,z3>0 and z4=−(z1+z2+z3). In this case, among the six terms in G=∑1≤i<j≤4g(zi,zj), there are three positive and three negative terms. Specifically, g(zi,z4)=−zi∣z4∣(zi,z4)2≥−∣z4∣zi for i=1,2,3, and g(z1,z2)≥z1z21>δ. Therefore, G>−1+δ. Assuming that z1,z2,z3,z4 consist of two positive and two negative numbers, let z1,z4>0 and z2,z3<0. If there exists zizj=−2, without loss of generality, let z1=u>0, z2=−2u. Let z3=−v<0 and z4=u+v (where u and v are coprime). In this case, G=−21−uv1+u(u+v)1+2uv(2,v)2−2u(u+v)(2,u+v)2−v(u+v)1 G≥−21−uv1+u(u+v)1+2uv1−2u(u+v)4−v(u+v)1=−21−2uv3>−1+δ. The last step of the above derivation assumes that (u,v)=(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), we have G=0. In any case, we have G>−1+δ. If there exists zizj=−3, without loss of generality, let z1=u>0, z2=−3u. Let z3=−v<0 and z4=2u+v (where u and v are coprime). In this case, G=−31−uv1+u(2u+v)1+3uv(3,v)2−3u(2u+v)(3,2u+v)2−v(2u+v)(2,v)2 G≥−31−uv1+u(2u+v)1+3uv1−3u(2u+v)9−v(2u+v)4=−31−3uv8>−1+δ. The last step of the above derivation assumes that (u,v)=(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), we have G=−54,52,−32,−32 respectively. In any case, we have G>−1+δ. If each zizj=−2,−3, then the four negative terms in G are all greater than or equal to −41, and the two positive terms are both greater than δ. Therefore, we still have G>−1+δ. In conclusion, we have L1+L0≥⌊12p⌋, and thus the conclusion of the problem is established. □
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.