An old number theory problem
related to the Legendre symbol
Wenpeng Zhang1,2 1. School of Data Science and Engineering
Xiβan Innovation College of Yanβan University, Xiβan, Shaanxi, P. R. China
2. School of Mathematics, Northwest University, Xiβan, Shaanxi, P. R. China
Correspondence: wpzhang@nwu.edu.cn
Abstract:The main purpose of this paper is using a very simple elementary constructive method to study an old number theory problem related to the Legendre symbol modulo , and completely solved it.
Keywords: Prime; Legendre symbol; constructive method; quadratic residue.
Let be an odd prime. For any integer , the famous Legendre symbol modulo is define (see [1] and [2]) as
This number theory function occupies a very important position in the study of elementary number theory and analytic number theory, so many theorists and scholars have studied its various properties, and a series of important results have been achieved. Perhaps the most significant result is its reciprocity formula. That is, for any two distinct odd primes and , one has (see Theorem 9.8 in [1])
Some other properties of Legendre symbol can be found in references [3]β[6], and need not be listed here.
It is clear that
So in the reduced residue system modulo , the number of the quadratic residues modulo and the number of the quadratic non-residues modulo half of each. If , then note that , we have
So we have the identity
That is to say, in the set , the number of the quadratic residues modulo and the number of the quadratic non-residues modulo also half of each.
But if , then is an odd number and
(2)
About a century ago, J. Jacobi first conjecture that and proved by L. Dirichlet [7] and [8] in connection with the theory of binary quadratic forms. The proofs are also given in the books of P. Bachmann [9] and E. Landau [10]. More proofs are due to Kai-Lai Chung [11], A. L. Whiteman [12] and L. Moser [13]. It is a shame that all known proofs are analytic. So, L. Moser in [13] said with emotion, βWhile a really elementary proof would be of great interestβ.
Through analytic methods, i.e. Dirichletβs class-number formula , where , denotes the class number of the imaginary quadratic field (see [2], p. 295 or [14], p. 395 or [15], p. 50), one can easy to prove that . In fact, from B. C. Berndtβs work [16] (see Theorem 3.2) we have
(3)
where .
Then combining Dirichletβs class-number formula and (2) we have
Since and , so .
That is, if , then in the set , the number of the quadratic residues modulo is greater than the number of the quadratic non-residues modulo . R. K. Guy [17] (see problem F5) asked us:
Is there an elementary proof for ?
In fact, the problem has been desired in the literature at least since 1927.
About this problem, it seems to have not solved at present, at least we have not found any elementary proof in the existing literature. In theory, this problem can be proven by using the elementary methods, but no one has been able to find one. Of course, it would be very meaningful to have a simple elementary method to prove this problem, just like the proof of the prime number theorem, the problem was already solved over a century ago by using the non-zero region of the Riemann zeta-function. It is precisely because A. Selberg [18] proved the prime number theorem using elementary methods that he was awarded the Fields Medal. Although A. Wiles [19] proved Fermatβs Last Theorem by using profound modular elliptic curves theory, I think it would be a remarkable achievement if someone could prove Fermatβs Last Theorem by using elementary methods. This is the way to make people feel that the problem and the proof method are aligned.
The main purpose of this paper is using a very simple elementary constructive method and the properties of the Legendre symbol to prove the following:
Theorem. For any odd prime with , we have
In fact, the proof of our theorem is purely elementary and has been desired in the literature at least since 1927.
3. Proof of the theorem
In this section, we provide a direct proof of the theorem. Of course, in the process of proving the theorem, we need to use some properties of the Legendre symbol, all them can be found in [1] or [2], and will not be repeated here. Now we always assume that . Let us distinguish between two situations to discuss:
Case 1. . In this case, note that and , we have . It is clear that .
Let and . Note that for any odd number , . Thus, the quadratic residue modulo or quadratic non-residue modulo occurs symmetrically in and . Now if , then . Note that , there must exist a pair quadratic residues modulo : and or and . So there are at least such quadratic residue modulo .
If , then . So one of ( ) and is a quadratic residue modulo . So there are at least such quadratic residue modulo .
If , then . In this case, one of ( ) and is a quadratic residue modulo . Note that and both are quadratic residues modulo . So there are at least such quadratic residue modulo .
If , then . In this case, one of ( ) and is a quadratic residue modulo . So there are at least such quadratic residue modulo . Note that the quadratic residues constructed above are not repeated. So if , then in the set , the number of the quadratic residues modulo is at least
So in the case , we have
(4)
Case 2. . In this case, we have . For any , it is clear that one of and is a quadratic residue modulo . If is a quadratic residue modulo , then is also a quadratic residue modulo . If is a quadratic residue modulo , then is also a quadratic residue modulo . So in this case, there are at least
such quadratic residues in set .
For any and , it is clear that one of them is a quadratic residue modulo . If is a quadratic residue modulo , then is also a quadratic residue modulo . If a quadratic residue modulo , then is also a a quadratic residue modulo . Note that implies , there are a total of such integers. If , then . In this way, there are at least quadratic residue modulo in the set .
Similarly, if , then ; If , then . Note that the quadratic residues constructed above are not repeated. So in the set , there are at least
(5)
quadratic residue modulo .
So if , then from (4) we also have
(6)
It is clear that if and only if or .
Combining (3) and (5) we complete the proof of our theorem.
Acknowledgements: The author would like to express his sincere gratitude to Professor Gong Ke for his comments and suggestions.
References
[1]T. M. Apostol, Introduction to Analytic Number
Theory, Springer-Verlag, New York, 1976.
[2] R. Ayoub, An introduction to the analytic theory of numbers, American Mathematical Society, Providence, 1963, pp. 295.
[3] A. Raymond, S. Chowla and H. Walum, On sums involving quadratic characters, Journal of London Mathematical Society, 42 (1967), 152β154.
[4] L. Carlitz, Some sums connected with quadratic residues, Proc. Amer. Math. Soc., 4 (1953), 12β15.
[5] R. H. Hudson, On sequences of quadratic non-residues, Journal of Number Theory, 3 (1971), 178β181.
[6] B. C. Berndt and S. Chowla, Zero sums of the Legendre symbol, Nordisk Mat. Tidskr. 22 (1974), 5β8.