Number theoryDifficulty 7.2Prove itOlimpiada Matemática Española (Concurso Final) · Mexico
Let S be a finite subset of the integers. We define d2(S) and d3(S) as follows: * d2(S) is the number of elements a∈S for which there exist x,y∈Z such that x2−y2=a. * d3(S) is the number of elements a∈S for which there exist x,y∈Z such that x3−y3=a.
a. Let m be an integer and let S={m,m+1,…,m+2019}. Prove that d2(S)>713⋅d3(S).
b. Let n be a positive integer and let Sn={1,2,…,n}. Prove that there exists a number N such that if n>N, d2(Sn)>4⋅d3(Sn).
This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.
First, we observe that a number can be written as a difference of squares if and only if it is not of the form 4k+2. To see this, we write x2−y2=α⋅β, where α and β have the same parity, and we simply set x=2α+β, y=2β−α. For example, if n=4k we may take α=2, β=2k; if n=4k+1 or n=4k+3, we may take α=1, β=n. Conversely, a difference of squares can never leave remainder 2 upon division by 4 (simply noting that a square is 0 or 1 modulo 4).
Let us now analyze what the differences of two cubes can look like. We observe that the residue modulo 7 of the cube of an integer can only be 0, 1, or 6; consequently, the difference of two cubes, modulo 7, can only be 0, 1, 2, 5, or 6. Doing the same modulo 9, we see that the residue of a cube modulo 9 can only be 0, 1, or 8; consequently, the difference of two cubes modulo 9 can only be 0, 1, 2, 7, or 8. Therefore, there are at most 5 options modulo 7 and 5 options modulo 9, and, by the Chinese Remainder Theorem, we have only 25 options modulo 63.
In an interval of length 2020 (a multiple of 4), exactly 3/4 of the numbers will be non-congruent to 2 modulo 4 (that is, d2(S)=1515). On the other hand, we have that 2020=32⋅63+4, so that d3(S)≤32⋅25+4=804. Therefore, we have that d2(S)/d3(S)≥1515/804>13/7, as we wanted to show.
We now move on to solving the second part. The same reasoning used above shows that 43n−21≤d2(Sn)≤43n+41. It will then suffice to show that asymptotically d3(n)<163n, that is, that for sufficiently large values of n this last inequality holds.
Suppose that x>y>0. A first observation is that if x3−y3≤n, then n≥x3−y3=(x−y)(x2+xy+y2)≥x2+xy+y2>3y2, so that y<n/3. On the other hand, x3≤n+y3≤n+(n/3)3/2. That is, x≤3n+(n/3)3/2. Since the ratio n/(n/3)3/2 tends to 0 as n tends to infinity, we have that for any δ>0 there will exist a sufficiently large number N such that when n>N, x≤3n+(n/3)3/2<(1+δ)n/3. Since we also know that y<x, the number of pairs is necessarily bounded by (1+δ)2n/3/2. Therefore, we can obtain at most (1+δ)2n/6 numbers. We note that it is not necessary to consider the case where x,y<0, since the numbers obtained will be the same.
In the case where y<0<x, we have that x3+(−y)3≤n, and it must be that x,−y<n1/3, so that we can obtain at most n2/3 numbers. Selecting a sufficiently small δ (for example δ=0.01), we conclude that d3(Sn)≤(1+0.01)2n/6+n2/3<163n if n is sufficiently large.
Source: MathNet,
licensed CC-BY-4.0.
Statement translated into English from es; metadata (topic, difficulty, ordering) added by this project.