Quadratic residues and related permutations
Hai-Liang Wu

TL;DR
This paper investigates permutations related to quadratic residues modulo an odd prime p, determining their signs and exploring properties of sequences formed by quadratic residues and primitive roots.
Contribution
It provides new results on the signs of specific permutations involving quadratic residues, extending previous work by explicitly calculating these signs for different congruence classes of p.
Findings
Sign of permutation σ_{0,1} for p ≡ 3 mod 4 determined.
Sign of permutation σ_{0,2} for p ≡ 1 mod 4 established.
Properties of sequences involving quadratic residues and primitive roots analyzed.
Abstract
Let be an odd prime. For any -adic integer we let denote the unique integer with and divisible by . In this paper we study some permutations involving quadratic residues modulo . For instance, we consider the following three sequences. \begin{align*} &A_0: \overline{1^2},\ \overline{2^2},\ \cdots,\ \overline{((p-1)/2)^2},\\ &A_1: \overline{a_1},\ \overline{a_2},\ \cdots,\ \overline{a_{(p-1)/2}},\\ &A_2: \overline{g^2},\ \overline{g^4},\ \cdots,\ \overline{g^{p-1}}, \end{align*} where is a primitive root modulo and are all quadratic residues modulo . Obviously is a permutation of and we call this permutation . Sun obtained the sign of when . In this paper we give the sign of and determine the sign…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCoding theory and cryptography · Analytic Number Theory Research · Advanced Mathematical Identities
Quadratic residues and related permutations
Hai-Liang Wu
(Hai-Liang Wu) Department of Mathematics, Nanjing University, Nanjing 210093, People’s Republic of China
Abstract.
Let be an odd prime. For any -adic integer we let denote the unique integer with and divisible by . In this paper we study some permutations involving quadratic residues modulo . For instance, we consider the following three sequences.
[TABLE]
where is a primitive root modulo and are all quadratic residues modulo . Obviously is a permutation of and we call this permutation . Sun obtained the sign of when . In this paper we give the sign of and determine the sign when .
2010 Mathematics Subject Classification. Primary 11A15; Secondary 05A05, 11R18.
Keywords. quadratic residues, permutations, primitive roots, cyclotomic fields.
Supported by the National Natural Science Foundation of China (Grant No. 11571162).
1. Introduction
Let be a finite set, and let be a permutation on . Throughout this paper the sign of is denoted by . Investigating the properties of is a classical topic in number theory and combinatorics. In particular, when is the finite field with prime and is induced by a permutation polynomial over , the properties of have been studied deeply by many mathematicians.
For instance, when with and , the famous Zolotarev’s Theorem [10] states that the Legendre symbol is the sign of the permutation of induced by multiplication by . Using this, Zolotarev obtained a new proof of the law of quadratic reciprocity. In this line, Sun [6] investigated many permutation problems involving quadratic permutation polynomial over . When and , it is easy to see that is a permutation polynomial over . L.-Y Wang and the author [8] determined the sign of permutation induced by . Moreover, W. Duke and K. Hopkins [2] extended this topic to an arbitrary finite group. They also generalized the law of quadratic reciprocity on finite groups.
Given an odd prime . Throughout this paper, for any integer we let denote the unique integer with and divisible by . Let be all quadratic residues modulo . Note that is a permutation of . Sun first studied this problem and obtained the sign of this permutation in the case of by evaluating the product
[TABLE]
where . Inspired by Sun’s work, we consider the following sequences.
[TABLE]
where is a primitive root modulo . Clearly is a permutation of and we call this permutation . As mentioned before, when , Sun proved that
[TABLE]
where is the class number of .
In this paper, we study the above permutations. We first introduce some notations. Let be a prime. Let and be the fundamental unit and the class number of respectively. And we let denote the class number of . We also define
[TABLE]
and let
[TABLE]
where denotes the cardinality of a finite set . Now we are in the position to state our first theorem.
Theorem 1.1**.**
Let be a prime. Then
[TABLE]
Now we turn to the permutation . For convenience, we write for some positive integer .
Theorem 1.2**.**
Let be a prime, and let be a primitive root modulo Then
[TABLE]
In particular, when , is independent on the choice of and we have
[TABLE]
As an application of Theorem 1.2, we can calculate some determinants concerning Dirichlet characters modulo . Let be an odd prime and let be a primitive root modulo . Let denote the group of Dirichlet characters modulo and let be a generator of . We consider the following matrix:
[TABLE]
We have the following result.
Corollary 1.1**.**
Let be a prime. Then
[TABLE]
Remark 1.1*.*
The signs of permutations have deep connections with the calculations of determinants. The readers may see [7] for more examples.
The proofs of Theorem 1.1–1.2 and Corollary 1.1 will be given in the next section.
2. Proofs of Theorem 1.1–1.2 and Corollary 1.1
Let be an odd prime. Throughout this section, we set . We begin with the following lemma (cf. [6, (1.5)]).
Lemma 2.1**.**
[TABLE]
Mordell [4] showed that if is a prime and then
[TABLE]
where is the class number of . Later S. Chowla [1] extended Mordell’s result and obtained the following result.
Lemma 2.2**.**
Let be a prime. Then we have
[TABLE]
where and are defined as in Theorem 1.1.
In 1982 K. S. Williams and J. D. Currie [9] obtained the following result.
Lemma 2.3**.**
Let be a prime. We have
[TABLE]
Proof of Theorem 1.1. Let be a prime. It follows from definition that
[TABLE]
We first consider the numerator. By Lemma 2.1–2.2 we have
[TABLE]
We now turn to the denominator. It is clear that
[TABLE]
where . To calculate , we set
[TABLE]
We also let Then clearly we have
[TABLE]
From the map , we immediately obtain that
[TABLE]
Hence Noting that
[TABLE]
we obtain that
[TABLE]
Moreover, we have
[TABLE]
Combining the above equations, we obtain
[TABLE]
Replacing by , we get
[TABLE]
Noting that
[TABLE]
we therefore have
[TABLE]
Observing that
[TABLE]
we obtain
[TABLE]
The last equation follows from [3, p.63 Exercise 8]. In view of the above, we have
[TABLE]
Thus
[TABLE]
Clearly
[TABLE]
where is defined as in Theorem 1.1. We also have the following identities.
[TABLE]
Hence we get
[TABLE]
Combining (2.1) and (2.2), our result follows from Lemma 2.2–2.3. ∎
Now we concentrate on Theorem 1.2. Let . We obtain the following lemma.
Lemma 2.4**.**
Let be a prime. We have the identity
[TABLE]
In particular, if , then the product is equal to .
Proof.
Let . Then
[TABLE]
Hence . Next we consider the argument of . Since
[TABLE]
we have
[TABLE]
Hence
[TABLE]
Thus . If , then . Noting that and , we have ∎
Remark 2.1*.*
Let and be as in Corollary 1.1. Let
[TABLE]
If , then
[TABLE]
Proof of Theorem 1.2. Let be a prime, and let be a primitive root modulo . By definition we have
[TABLE]
As in the proof of Theorem 1.1, the numerator
[TABLE]
We mainly focus on the denominator. We first observe the following fact. Let be the -th cyclotomic polynomial. Since and , it is known that totally splits in . Hence by Kummer’s Theorem (cf. [5, p.47 Proposition 8.3]) we know that splits in . And the set of primitive -th roots of unity of maps bijectively onto the set of primitive -th roots of unity of . Hence we have
[TABLE]
Now let . We may write
[TABLE]
with and . By Lemma 2.4 we know that
[TABLE]
As , we have . Thus by Galois theory for each primitive -th root of unity we have
[TABLE]
Let
[TABLE]
We obtain
[TABLE]
Hence we have
[TABLE]
In particular, in view of the above, when , for each primitive -th root of unity we have
[TABLE]
Hence is the constant . The desired result follows from (2.3) and (2.4).∎
Proof of Corollary 1.1. Let be as in Corollary 1.1, and let be as in Remark 2.1. When , it is easy to see that is independent on the choice of . Then
[TABLE]
Our desired result follows from Lemma 2.4 and Theorem 1.2.∎
Acknowledgments We are exceedingly thankful for the careful reading and indispensable suggestions of the anonymous referees. We also thank Prof. Z.-W Sun and Prof. Hao Pan for their help suggestions.
This research was supported by the National Natural Science Foundation of China (Grant No. 11571162).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] S. Chowla, On the class number of real quadratic field , Proc. Natl. Acad. Sci. USA, 47 (1961), 878.
- 2[2] W. Duke and K. Hopkins, Quadratic reciprocity in a finite group , Amer. Math. Monthly 112 (2005), 251–256.
- 3[3] K. Ireland and M. Rosen, A Classical Introduction to Modern Number Theory (Graduate Texts in Math.; 84), 2nd ed., Springer, New York, 1990.
- 4[4] L. J. Mordell, The congruence ( ( p − 1 ) / 2 ) ! ≡ ± 1 ( mod p ) 𝑝 1 2 plus-or-minus 1 mod 𝑝 ((p-1)/2)!\equiv\pm 1\ ({\rm{mod}}\ p) , Amer. Math. Monthly 68 (1961), 145–146.
- 5[5] J. Neukirch, Algebraic Number Theory, Springer-Verlag Berlin Heidelberg, 1999.
- 6[6] Z.-W Sun, Quadratic residues and related permutations and identities , Finite Fields Appl. 59 (2019), 246–283.
- 7[7] Z.-W Sun, On Some Determinants with Legendre symbol entries , Finite Fields Appl. 56 (2019), 285–307.
- 8[8] L.-Y Wang and H.-L Wu, Applications of Lerch’s theorem and permutations concerning quadratic residues , prepringt, ar Xiv:1810.03006 v 4, 2018.
