LXVI.4 (1994)
An upper bound for the number of solutions of a system of congruences
by
Lyn Dodd (Nottingham)
1. Introduction. Let X denote an indeterminate. For each vector m ∈ Z
2rwith components satisfying 0 < m
i≤ h define
f
1(X) = Y
r i=1(X + m
i) and f
2(X) = Y
2r i=r+1(X + m
i) .
In [1] Burgess showed that, for any prime p > 3 and primitive character χ (mod p
α), the estimate
N +H
X
n=N +1
χ(n)
= O(H
1−1/rp
α(r+1)/4r2+ε)
holds in the case r = 3. This inequality was obtained by estimating X
m
X
x∈A1
χ
f
1f
2(x)
where
A
1= {x : 0 ≤ x < p
α, p - f
1(x)f
2(x)} .
In order to do this, Burgess found estimates for the inner summation over various subsets of A
1and then counted the number of m for which these subsets were non-empty. The counting process was carried out using different methods, one of which concerned the estimation of the cardinality of
S = {m : 0 < m
i≤ h, f
1(X) ≡ f
2(X) (mod p
µ)} .
The estimation of such character sums in the case r = 2 is contained in [2].
The case r = 4 has yet to be proved. This paper estimates #S when r = 4, as a step in the direction of a proof. The result obtained is given by the following theorem.
The contents of this paper formed part of the author’s PhD thesis (Nottingham Uni-
versity, 1991) which was supported by Science and Engineering Research Council.
Theorem 1. Suppose p is a prime greater than 5 and µ is a positive integer. If
H = {m : 0 < m
i≤ h for i = 1, . . . , 8 and f
1(X) ≡ f
2(X) (mod p
µ)}
then
#H µ
6h
8p
3µ+[µ/2]−[µ/4]‘ + h
6p
µ+[µ/2]−[µ/4]+ h
5p
µ−[µ/2]+ h
4. In [4] Hua and Min obtain an asymptotic formula for the number of solutions of the system
x
h1+ . . . + x
hs≡ y
1h+ . . . + y
hs(mod p
l) (1 ≤ h ≤ k)
where s, k, h, l are integers such that s ≥ k ≥ 4, l ≥ k
2and p is a prime greater than k. Assuming that p 6= 5 and letting s
r(x) = P
4i=1
x
ri, in the particular case s = k = 4, l = 16 the number of solutions of the system
(1)
s
1(x) ≡ s
1(y) s
2(x) ≡ s
2(y) s
3(x) ≡ s
3(y) s
4(x) ≡ s
4(y)
(mod p
16)
is p
76(1 + O(p
−1/4)). Writing
σ
1(x) = x
1+ x
2+ x
3+ x
4,
σ
2(x) = x
1x
2+ x
1x
3+ x
1x
4+ x
2x
3+ x
2x
4+ x
3x
4, σ
3(x) = x
1x
2x
3+ x
1x
2x
4+ x
1x
3x
4+ x
2x
3x
4, σ
4(x) = x
1x
2x
3x
4,
it follows that
s
1(x) = σ
1(x) ,
s
2(x) = (σ
1(x))
2− 2σ
2(x) ,
s
3(x) = (σ
1(x))
3− 3σ
1(x)σ
2(x) + 3σ
3(x) , s
4(x) = (σ
1(x))
4− 4(σ
1(x))
2σ
2(x)
+ 4σ
1(x)σ
3(x) + 2(σ
2(x))
2− 4σ
4(x) . Since p > 5 the systems (1) and
(2)
σ
1(x) ≡ σ
1(y) σ
2(x) ≡ σ
2(y) σ
3(x) ≡ σ
3(y) σ
4(x) ≡ σ
4(y)
(mod p
16)
are equivalent. But (2) holds if and only if Y
4i=1
(X + x
i) ≡ Y
4 i=1(X + y
i) (mod p
16)
for indeterminate X, which, by Theorem 1, has p
76solutions in one complete system of residues. A comparison with the result of Min and Hua shows that, in this case, Theorem 1 is essentially best possible.
2. Basic estimates. The basic tools used in proving Theorem 1 are the well-known estimate in Lemma 2 and Proposition 3 which is reproduced from [3]. The notation dxe denotes the least integer greater than or equal to x and p
αk x means p
α| x, p
α+1- x.
Lemma 2. Suppose p is an odd prime and ν is a positive integer. If 0 < x ≤ h then the number of solutions of the congruence x
2+ Ax + B ≡ 0 (mod p
ν) is h/p
[(ν+1)/2]+ 1.
Proposition 3. Let f be a polynomial of degree n having integer co- efficients. Let p be a prime, d be a positive integer , and α, β and γ be non-negative integers satisfying γ = dα/de. If T = {x ∈ a complete set of residues (mod p
γ) : p
α+β| f (x), p
βk f
(d)(x)} then #T n.
If g(x) is a polynomial with integer coefficients such that p
δk g
(d)(x) then it follows from Proposition 3 that the number of x satisfying 0 < x ≤ h and g(x) ≡ 0 (mod p
µ) is h/p
µ−δ+ 1 if d = 1 and h/p
[(µ−δ+1)/2]+ 1 if d = 2. The proof of Theorem 1 will be given by a series of lemmas.
Throughout we shall use the fact that the conditions A
1+ . . . + A
n≡ 0 (mod p
α) and p
ajk A
jfor j = 1, . . . , n imply that a
k≥ min(min
j6=ka
j, α) for k = 1, . . . , n.
3. Initial transformations. Making the substitution M
i= m
i− m
1for i = 2, . . . , 8 we see that f
1(X) ≡ f
2(X) (mod p
µ) if and only if the following congruences hold simultaneously:
(3) M
2+ M
3+ M
4≡ M
5+ M
6+ M
7+ M
8(mod p
µ) , M
2M
3+ M
2M
4+ M
3M
4≡ M
5M
6+ M
5M
7+ M
5M
8+ M
6M
7+ M
6M
8+ M
7M
8(mod p
µ) , M
2M
3M
4≡ M
5M
6M
7+ M
5M
6M
8+ M
5M
7M
8+ M
6M
7M
8(mod p
µ) , (4) 0 ≡ M
5M
6M
7M
8(mod p
µ) .
Eliminating M
2from the second and third congruences of the above system produces the pair of congruences
(5) (M
3+ M
4)(M
5+ M
6+ M
7+ M
8− M
4) − M
32≡ M
5M
6+ M
5M
7+ M
5M
8+ M
6M
7+ M
6M
8+ M
7M
8(mod p
µ) and
M
3M
4(M
5+ M
6+ M
7+ M
8− M
3− M
4)
≡ M
5M
6M
7+ M
5M
6M
8+ M
5M
7M
8+ M
6M
7M
8(mod p
µ) , which together imply that
(6) (M
4− M
8)(M
5M
6+ M
5M
7+ M
6M
7+ M
42− M
4(M
5+ M
6+ M
7))
≡ M
5M
6M
7(mod p
µ) . Define γ
5, γ
6, γ
7, γ
8by
p
γ5k (M
5, p
µ), p
γ5+γ6k (M
5M
6, p
µ) , (7)
p
γ5+γ6+γ7k (M
5M
6M
7, p
µ), γ
5+ γ
6+ γ
7+ γ
8= µ .
It may be assumed that γ
5≥ γ
6≥ γ
7≥ γ
8≥ 0, by re-ordering M
5, M
6, M
7, M
8if necessary, and that for i = 5, 6, 7 any power of p dividing M
i+1also divides M
i. Let ε, k, m be given by
p
εk (M
5M
6+ M
5M
7+ M
6M
7+ M
42− M
4(M
5+ M
6+ M
7), p
µ) , (8)
p
kk (2M
3+ M
4− M
5− M
6− M
7, p
µ) (9)
and
(10) p
mk (2M
4− M
5− M
6− M
7, p
µ) .
Writing M
1= m
1it follows that the number of m = (m
1, . . . , m
8) satisfying f
1(X) ≡ f
2(X) (mod p
µ) is less than or equal to the number of solutions in M
1, . . . , M
8of (3)–(6) with |M
i| < h for i = 1, . . . , 8. We now present the lemmas which together provide the proof of Theorem 1. In all cases there are h possible values for m
1. Given M
3, . . . , M
8there are h/p
µ+1 choices for M
2from (3). We have h/p
max(µ−k,k)+ 1 choices for M
3from (5) and (9), given M
4, . . . , M
8. The following notation will be used:
A = h
8p
3µ+[µ/2]−[µ/4]+ h
6p
µ+[µ/2]−[µ/4]+ h
5p
µ−[µ/2]+ h
4and
S = “M
1, . . . , M
8: |M
i| < h for i = 1, . . . , 8 and (3)–(10) hold”.
4. Extending the conditions S. In this section we obtain the required estimate except for the set {S : 0 < m < µ − [µ/4], ε < µ, [µ/4] < k ≤ [µ/2], γ
8> 0 and p | M
4}.
Lemma 4. If H
1= {S : m = 0} then #H
1µ
5A.
P r o o f. Given M
4, M
5, M
6, M
7there are h/p
µ−ε+ 1 choices for M
8from (6) and (8). Since m = 0 there are only non-singular solutions for M
4from (8) and so we have h/p
ε+ 1 choices for M
4given M
5, M
6, M
7. By (7) it follows that
#H
1h
h
p
µ+ 1 X
k
h
p
max(µ−k,k)+ 1
× X
γ5,γ6,γ7
h p
γ5+1
h p
γ6+1
h
p
γ7+1 X
ε
h p
ε+1
h p
µ−ε+1
µ
5A .
Lemma 5. If H
2= {S : m > 0 and p - M
4} then #H
2µ
4A.
P r o o f. Given M
4, M
5, M
6, M
7there are h/p
µ−ε+ 1 choices for M
8from (6) and (8). By (8) and (10) there are h/p
max(ε−m,m)+ 1 choices for M
4given M
5, M
6, M
7. Since p - M
4, (7) and (10) imply that p - M
7and so γ
7= 0 and γ
5+ γ
6= µ. From (10) it can be seen that 2M
4= M
5+ M
6+ M
7+ Rp
mfor some R ∈ Z. Substituting for M
4in (8) produces
4(M
5M
6+ M
5M
7+ M
6M
7) ≡ (M
5+ M
6+ M
7)
2(mod p
min(2m,ε)) , from which we have h/p
min(m,[(ε+1)/2])+ 1 choices for M
7, given M
5, M
6. Therefore
#H
2h
h
p
µ+ 1 X
k
h
p
max(µ−k,k)+ 1
× X
ε,m
h
p
max(ε−m,m)+ 1
h
p
min(m,[(ε+1)/2])+ 1
×
h
p
µ−ε+ 1 X
γ5
h p
γ5+ 1
h p
µ−γ5+ 1
µ
4A .
Multiplying (5) by 4 and then rearranging yields
(2M
3− Σ
1+ M
4)
2≡ 4M
4(Σ
1− M
4) − 4Σ
2+ (Σ
1− M
4)
2(mod p
µ) where Σ
1= M
5+ M
6+ M
7+ M
8and Σ
2= M
5M
6+ M
5M
7+ M
5M
8+ M
6M
7+ M
6M
8+ M
7M
8. Hence it follows from (9) that
p
min(2k,µ)| 4M
4(Σ
1− M
4) − 4Σ
2+ (Σ
1− M
4)
2and so
(11) (M
4+ M
8− M
5− M
6− M
7)
2≡ 4(M
5M
6+ M
5M
7+ M
6M
7+ M
42− M
4(M
5+ M
6+ M
7)) (mod p
min(2k,µ)).
Lemma 6. If H
3= {S : m > 0, p | M
4and ε = µ} then #H
3µ
3A.
P r o o f. From (6) and (8) we know that M
5M
6M
7≡ 0 (mod p
µ) and so, by (7), γ
5+ γ
6+ γ
7= µ. Using (8) and (11) we obtain
M
4+ M
8− M
5− M
6− M
7≡ 0 (mod p
min(k,[(µ+1)/2])) ,
from which we have h/p
min(k,[(µ+1)/2])+ 1 choices for M
8given M
4, M
5, M
6, M
7. There are h/p
[(µ+1)/2]+1 choices for M
4from (8), given M
5, M
6, M
7. Thus
#H
3h
h p
µ+ 1
h
p
µ−[µ/2]+ 1
× X
γ5,γ6
h p
γ5+ 1
h p
γ6+ 1
h
p
µ−γ5−γ6+ 1
× X
k
h
p
max(µ−k,k)+ 1
h
p
min(k,[(µ+1)/2])+ 1
µ
3A .
Lemma 7. If H
4= {S : k > [µ/2], m > 0, ε < µ and p | M
4} then
#H
4µ
5A.
P r o o f. As ε < µ it follows from (8) that p
εk RHS and thus p
εk LHS of (11). Hence ε must be even and p
ε/2k M
4+M
8−M
5−M
6−M
7. Together with (11) this gives h/p
µ−ε/2+ 1 choices for M
8given M
4, M
5, M
6, M
7. There are h/p
ε/2+ 1 choices for M
4from (8), given M
5, M
6, M
7. There- fore
#H
4h
h
p
µ+ 1 X
k
h
p
k+ 1 X
γ5,γ6,γ7
h p
γ5+ 1
h p
γ6+ 1
×
h
p
γ7+ 1 X
ε
h p
ε/2+ 1
h p
µ−ε/2+ 1
µ
5A .
Lemma 8. If H
5= {S : 0 ≤ k ≤ [µ/4], m > 0, ε < µ and p | M
4} then
#H
5µ
5A.
P r o o f. There are h/p
µ−ε+ 1 choices for M
8from (6) and (8), given
M
4, M
5, M
6, M
7, and h/p
max(ε−m,m)+1 choices for M
4from (8) and (10),
given M
5, M
6, M
7. As in Lemma 5 we have h/p
min(m,[(ε+1)/2])+ 1 choices
for M
7, given M
5, M
6, and thus
#H
5h
h
p
µ+ 1 X
k
h p
µ−k+ 1
× X
ε,m
h
p
max(ε−m,m)+ 1
h
p
min(m,[(ε+1)/2])+ 1
×
h
p
µ−ε+ 1 X
γ5,γ6
h p
γ5+ 1
h p
γ6+ 1
µ
5A .
Lemma 9. If H
6= {S : [µ/4] < k ≤ [µ/2], m > 0, ε < µ, γ
8= 0 and p | M
4} then #H
6µ
4A.
P r o o f. Given M
4, M
5, M
6, M
7we have h/p
max(µ−ε,k)+ 1 choices for M
8from (6), (8) and (11). From (8) there are h/p
[(ε+1)/2]+ 1 choices for M
4given M
5, M
6, M
7. Hence, using (7),
#H
6h
h
p
µ+ 1 X
γ5,γ6
h p
γ5+ 1
h p
γ6+ 1
h
p
µ−γ5−γ6+ 1
× X
ε,k
h
p
[(ε+1)/2]+ 1
h p
µ−k+ 1
h
p
max(µ−ε,k)+ 1
µ
4A .
Lemma 10. If H
7= {S : [µ/4] < k ≤ [µ/2], m ≥ µ − [µ/4], ε < µ, γ
8> 0 and p | M
4} then #H
7µ
5A.
P r o o f. Given M
5, M
6, M
7, M
8there are h/p
m+ 1 choices for M
4from (10). By (7) it follows that
#H
7h
h
p
µ+1 X
γ5,γ6,γ7
h p
γ5+1
h p
γ6+1
h p
γ7+1
h
p
µ−γ5−γ6−γ7+1
× X
k
h
p
µ−k+ 1 X
m
h p
m+ 1
µ
5A .
The conditions S have now been extended as follows:
S
0= “S : 0 < m < µ−[µ/4], ε < µ, [µ/4] < k ≤ [µ/2], γ
8> 0 and p | M
4” .
This notation will be used in the next section.
5. Extending the conditions S
0. In all the remaining cases we obtain an expression of the form
#H
ih
h
p
µ+ 1 X h
6p
Da+ h
5p
Db+ h
4p
Dc+ h
3,
where the sum is over a maximum of six variables. It is sufficient to show that D
a≥ 2µ + [µ/2] − [µ/4], D
b≥ µ + [µ/2] − [µ/4] and D
c≥ µ − [µ/2]
since h
h p
µ+ 1
h
6p
2µ+[µ/2]−[µ/4]+ h
5p
µ+[µ/2]−[µ/4]+ h
4p
µ−[µ/2]+ h
3A . We now continue with further steps in the proof of Theorem 1.
Lemma 11. If H
8= {S
0: 2k ≤ ε} then #H
8µ
6A.
P r o o f. From (8) and (11) we know that p
k| M
4+ M
8− M
5− M
6− M
7. By (10), this implies that p
min(m,k)| M
4− M
8. Hence, by (6) and (7), it follows that
(12) ε + min(m, k) ≤ γ
5+ γ
6+ γ
7< µ .
There are h/p
µ−ε+ 1 choices for M
8from (6) and (8), given M
4, M
5, M
6, M
7, and h/p
max(ε−m,m)+ 1 choices for M
4from (8) and (10), given M
5, M
6, M
7. Therefore
#H
8h
h
p
µ+ 1 X
k,ε,m
h p
µ−k+ 1
h p
µ−ε+ 1
h
p
max(ε−m,m)+ 1
× X
γ5,γ6,γ7
h p
γ5+ 1
h p
γ6+ 1
h p
γ7+ 1
h
h
p
µ+ 1 X
k,ε,m γ5,γ6,γ7
h
6p
D1+ h
5p
D2+ h
4p
D3+ h
3,
where
D
1= 2µ − k − ε + max(ε − m, m) + γ
5+ γ
6+ γ
7,
D
2= min(2µ − k − ε + max(ε − m, m), 2µ − k − ε + γ
5+ γ
6+ γ
7, µ − ε + max(ε − m, m) + γ
5+ γ
6+ γ
7) , D
3= min(µ − ε + max(ε − m, m), µ − ε + γ
5+ γ
6+ γ
7, 2µ − k − ε ,
γ
5+ γ
6+ γ
7+ max(ε − m, m)) .
It can be seen from (12) that D
1≥ 2µ − k + max(ε − m, m) + min(m, k) ≥
2µ+[µ/2]−[µ/4]. By (7) we know that γ
5+γ
6+γ
7≥ µ−[µ/4] > µ−k. Also,
if max(ε−m, m) > γ
5+γ
6+γ
7then ε−m > γ
5+γ
6+γ
7. This is possible only
if m < [µ/4], in which case (12) implies that ε + m ≤ γ
5+ γ
6+ γ
7< ε − m,
a contradiction. We conclude that max(ε − m, m) ≤ γ
5+ γ
6+ γ
7. Hence D
3= min(µ − ε + max(ε − m, m), 2µ − k − ε) ≥ µ − [ε/2] ≥ µ − [µ/2] and D
2= 2µ − k − ε + max(ε − m, m). If ε > [µ/2] + [µ/4] then (12) implies that m ≤ [µ/4] and so D
2= 2µ − k − m ≥ 2µ − [µ/2] − [µ/4]. If ε ≤ [µ/2] + [µ/4]
then, as k ≤ max(ε − m, m), we have D
2≥ 2µ − ε ≥ 2µ − [µ/2] − [µ/4].
It may now be assumed that µ ≥ 2k > ε. Consequently, it follows from (8) and (11) that ε is even and
(13) p
ε/2k M
4+ M
8− M
5− M
6− M
7. Denote by Q the expression
(14) Q = M
5M
6+ M
5M
7+ M
6M
7+ M
42− M
4(M
5+ M
6+ M
7) . Lemma 12. If H
9= {S
0: 2k > ε, 2m > ε} then #H
9µ
5A.
P r o o f. Given M
4, M
5, M
6, M
7there are h/p
max(µ−ε,2k−ε/2)+ 1 choices for M
8from (6), (8), (11) and (13). By (10), p
2mk (2M
4− M
5− M
6− M
7)
2and so
4Q ≡ 2(M
5M
6+ M
5M
7+ M
6M
7) − M
52− M
62− M
72(mod p
2m) . As p
εk Q we deduce that
(15) p
εk M
52+ M
62+ M
72− 2(M
5M
6+ M
5M
7+ M
6M
7) .
It follows from (10) and (13) that p
ε/2| M
4− M
8, which, together with (6) and (7), implies that
(16) 3ε/2 ≤ γ
5+ γ
6+ γ
7< µ . Thus from (6) we obtain
Q
p
ε· M
4− M
8p
ε/2≡ M
5M
6M
7p
3ε/2(mod p
µ−3ε/2) and from (11) and (13) we have
Q
p
ε· M
4+ M
8− M
5− M
6− M
7p
ε/2 2≡ 4Q
3p
3ε(mod p
2k−ε) .
Since M
4+ M
8− M
5− M
6− M
7= 2M
4− M
5− M
6− M
7− (M
4− M
8), combining the above two congruences produces
Q(2M
4− M
5− M
6− M
7) − M
5M
6M
7p
3ε/2 2≡ 4Q
3p
3ε(mod p
min(µ−3ε/2, 2k−ε)), which simplifies to
(17) Q
2(M
52+ M
62+ M
72− 2(M
5M
6+ M
5M
7+ M
6M
7))
≡ M
5M
6M
7(2Q(2M
4−M
5−M
6−M
7)−M
5M
6M
7) (mod p
min(µ+3ε/2, 2k+2ε)).
From (15) it can be seen that p
3εk LHS of (17). By (16) we must have min(µ + 3ε/2, 2k + 2ε) > 3ε and thus p
3εk RHS of (17), or
p
3ε−γ5−γ6−γ7k 2Q(2M
4− M
5− M
6− M
7) − M
5M
6M
7. This together with (10) implies that
3ε − γ
5− γ
6− γ
7≥ min(ε + m, γ
5+ γ
6+ γ
7) .
If ε + m ≤ γ
5+ γ
6+ γ
7then 2ε − m ≥ γ
5+ γ
6+ γ
7≥ ε + m, contradicting 2m > ε. Hence, from (7), (16) and the above we conclude that
(18) µ −
µ 4
≤ 3ε
2 = γ
5+ γ
6+ γ
7< µ . It follows from (8), (10) and (18) that
p
5ε/2k 2Q(2M
4−M
5−M
6−M
7)(M
52+M
62+M
72−2(M
5M
6+M
5M
7+M
6M
7))
−2M
5M
6M
7(2Q + (2M
4− M
5− M
6− M
7)
2) . This is the derivative of (17) with respect to M
4and so there are h/p
min(µ−ε, 2k−ε/2)+ 1 choices for M
4given M
5, M
6, M
7. By (7) and (18) it follows that
#H
9h
h
p
µ+ 1 X
k,ε
h
p
min(µ−ε,2k−ε/2)+ 1
h
p
max(µ−ε,2k−ε/2)+ 1
×
h
p
µ−k+ 1 X
γ5,γ6,γ7
h p
γ5+ 1
h p
γ6+ 1
h p
γ7+ 1
µ
3h
h
p
µ+ 1 X
k,ε
h
6p
D4+ h
5p
D5+ h
4p
D6+ h
3, where
D
4= 2µ + k ≥ 2µ +
µ 2
−
µ 4
, D
5= min
2µ + k − 3ε
2 , 2µ − k + ε
2 , µ + k + ε
> min(2µ − ε, µ + k) ≥ µ +
µ 2
−
µ 4
, D
6= min
µ + 2k − 3ε
2 , 2µ − k − ε, µ + k − ε
2 , µ − k + 3ε 2
> µ − k ≥ µ −
µ 2
.
Lemma 13. If H
10= {S
0: 2k > ε > 2m} then #H
10µ
6A.
P r o o f. Given M
4, M
5, M
6, M
7there are h/p
max(µ−ε,2k−ε/2)+ 1 choices for M
8from (6), (8), (11) and (13). Since p 6= 2, from (8) and (14) we know that p
εk 4Q. This can be rewritten as
(2M
4− M
5− M
6− M
7)
2≡ M
52+ M
62+ M
72− 2(M
5M
6+ M
5M
7+ M
6M
7) (mod p
ε) , which, together with (10), implies that
(19) p
2mk M
52+ M
62+ M
72− 2(M
5M
6+ M
5M
7+ M
6M
7) .
From (10) and (13) we see that p
m| M
4− M
8and so from (6) and (7) we have
(20) ε + m ≤ γ
5+ γ
6+ γ
7< µ . Using (6), (11), (13) and (20) we deduce that
Q
p
ε· M
4− M
8p
m≡ M
5M
6M
7p
ε+m(mod p
µ−ε−m) and
Q
p
ε· M
4+ M
8− M
5− M
6− M
7p
m 2≡ 4Q
3p
2ε+2m(mod p
2k−2m) . Combining these two congruences as in the previous lemma, we obtain (21) Q
2(M
52+ M
62+ M
72− 2(M
5M
6+ M
5M
7+ M
6M
7))
≡ M
5M
6M
7(2Q(2M
4−M
5−M
6−M
7)−M
5M
6M
7) (mod p
min(µ+ε+m,2k+2ε)).
By (8) and (19), p
2ε+2mk LHS of (21). But from (20) we know that min(µ+
ε + m, 2k + 2ε) > 2ε + 2m and so p
2ε+2mk RHS of (21), or
p
2ε+2m−γ5−γ6−γ7k 2Q(2M
4− M
5− M
6− M
7) − M
5M
6M
7.
Hence, by (10), we see that 2ε+2m− γ
5−γ
6−γ
7≥ min(ε+m, γ
5+ γ
6+γ
7), which, together with (7) and (20), implies that
(22) µ −
µ 4
≤ ε + m = γ
5+ γ
6+ γ
7< µ . Also, from (10), (19) and (22) it can be seen that
p
4mk (2(2M
4− M
5− M
6− M
7)
2+ 4Q)(M
52+ M
62+ M
72−2(M
5M
6+ M
5M
7+ M
6M
7)) − 12M
5M
6M
7(2M
4− M
5− M
6− M
7) .
This expression is the second derivative of (21) with respect to M
4and
so there are h/p
[(min(µ+ε−3m,2k+2ε−4m)+1)/2]+ 1 choices for M
4, given
M
5, M
6, M
7. Hence, by (22),
#H
10h
h p
µ+ 1
× X
k,ε,m
h
p
max(µ−ε,2k−ε/2)+1
h
p
min([(µ+ε−3m+1)/2],k+ε−2m)+1
×
h
p
µ−k+ 1 X
γ5,γ6,γ7
h p
γ5+ 1
h p
γ6+ 1
h p
γ7+ 1
µ
3h
h
p
µ+ 1 X
k,ε,m
h
6p
D7+ h
5p
D8+ h
4p
D9+ h
3, where
D
7= max
2µ − k, µ + k + ε 2
+ min
µ + ε − m + 1 2
, k + ε − m
≥ 2µ + ε
2 ≥ 2µ +
µ 2
−
µ 4
, D
8= µ−k +min
max
µ− ε
2 , 2k
+min
µ − 3m + 1 2
, k + ε
2 −2m
, max
µ + m, 2k + ε 2 + m
, ε + min
µ + ε − m + 1 2
, k + ε − m
> µ + k ≥ µ +
µ 2
−
µ 4
, D
9= min
µ − k + min
ε + m, max
µ − ε, 2k − ε 2
, min
µ + ε − 3m + 1 2
, k + ε − 2m
, min
µ − 3m + 1 2
, k + ε
2 − 2m
+ max
µ − ε
2 , 2k
> µ − k ≥ µ −
µ 2
.
It may now be assumed that ε = 2m. There are h/p
max(µ−2m,2k−m)+1 choices for M
8from (6), (8), (11) and (13) given M
4, M
5, M
6, M
7.
Lemma 14. If H
11= {S
0: 2k > ε = 2m and γ
5+ γ
6+ γ
7≥ 2k + m}
then #H
11µ
5A.
P r o o f. From (10) there are h/p
m+1 choices for M
4given M
5, M
6, M
7and it follows that
#H
11h
h
p
µ+ 1 X
k,m
h
p
max(µ−2m,2k−m)+ 1
h p
µ−k+ 1
h p
m+ 1
× X
γ5,γ6,γ7
h p
γ5+ 1
h p
γ6+ 1
h p
γ7+ 1
µ
3h
h
p
µ+ 1 X
k,m
h
6p
D10+ h
5p
D11+ h
4p
D12+ h
3, where
D
10= µ + k + 2m + max(µ − 2m, 2k − m) ≥ 2µ + k ≥ 2µ +
µ 2
−
µ 4
, D
11= min(µ + k + 2m, min(µ − k + m, 2k + 2m) + max(µ − 2m, 2k − m))
≥ µ + k ≥ µ +
µ 2
−
µ 4
,
D
12= min(max(µ − m, 2k), µ − k + m, 2k + 2m)
≥ min(µ − k, 2k) ≥ µ −
µ 2
.
By (10) and (13) we know that p
m| M
4− M
8and so, by (6), (7) and (8), (23) 3m ≤ γ
5+ γ
6+ γ
7< µ .
Also, with Q given by (14), from (6), (11) and (13) we obtain Q
p
2m· M
4− M
8p
m≡ M
5M
6M
7p
3m(mod p
µ−3m) and
Q
p
2m· M
4+ M
8− M
5− M
6− M
7p
m 2≡ 4Q
3p
6m(mod p
2k−2m) . Proceeding as in Lemma 12, these two congruences combine to produce (24) Q
2(M
52+ M
62+ M
72− 2(M
5M
6+ M
5M
7+ M
6M
7))
≡ M
5M
6M
7(2Q(2M
4−M
5−M
6−M
7)−M
5M
6M
7) (mod p
min(2k+4m,µ+3m)) . Define x by
(25) p
xk (M
52+ M
62+ M
72− 2(M
5M
6+ M
5M
7+ M
6M
7), p
µ) .
Lemma 15. If H
12= {S
0: (25) holds, x ≥ 2k > ε = 2m and 2k + m >
γ
5+ γ
6+ γ
7} then #H
12µ
5A.
P r o o f. Since p
2mk Q (25) implies that p
min(2k+4m,µ+3m)| RHS of (24) or, by (7),
4Q(2M
4−M
5−M
6−M
7) ≡ 2M
5M
6M
7(mod p
min(2k+4m,µ+3m)−γ5−γ6−γ7) . We know that min(2k + 4m, µ + 3m) − γ
5− γ
6− γ
7> 3m. Since p
3mk LHS and p
γ5+γ6+γ7k RHS of the above we conclude that
(26) µ −
µ 4
≤ 3m = γ
5+ γ
6+ γ
7< µ .
As 4Q = (2M
4−M
5−M
6−M
7)
2−M
52−M
62−M
72+2(M
5M
6+M
5M
7+M
6M
7) we can rewrite the above as
(2M
4− M
5− M
6− M
7)((2M
4− M
5− M
6− M
7)
2− M
52− M
62− M
72+ 2(M
5M
6+ M
5M
7+ M
6M
7))
≡ 2M
5M
6M
7(mod p
min(2k+m,µ)) . By (10) and (25) it follows that
p
2mk 6(2M
4− M
5− M
6− M
7)
2−2(M
52+ M
62+ M
72− 2(M
5M
6+ M
5M
7+ M
6M
7)) . This is the derivative of the above expression with respect to M
4and so there are h/p
min(2k−m,µ−2m)+ 1 choices for M
4given M
5, M
6, M
7. Therefore
#H
12h
h
p
µ+ 1 X
k,m
h
p
min(2k−m,µ−2m)+ 1
×
h
p
max(2k−m,µ−2m)+ 1
h p
µ−k+ 1
× X
γ5,γ6,γ7
h p
γ5+ 1
h p
γ6+ 1
h p
γ7+ 1
. As (26) holds, the result follows by comparison with Lemma 12.
Lemma 16. If H
13= {S
0: (25) holds, 2k > x ≥ µ − m, 2k > ε = 2m and 2k + m > γ
5+ γ
6+ γ
7} then #H
13µ
5A.
P r o o f. There are h/p
m+1 choices for M
4from (10) given M
5, M
6, M
7and h/p
[(x+1)/2]+ 1 choices for M
7from (25) given M
5, M
6. By (7) and (23),
#H
13h
h p
µ+ 1
× X
k,m,x
h p
µ−k+ 1
h p
m+ 1
h p
2k−m+ 1
h
p
[(x+1)/2]+ 1
× X
γ5,γ6
h p
γ5+ 1
h p
γ6+ 1
µh
h
p
µ+ 1 X
γk,m5,γ6