Quadratic residues and related permutations and identities
Abstract
Let p be an odd prime. In this paper we investigate quadratic residues modulo p and related permutations, congruences and identities. If a1<…<a(p-1)/2 are all the quadratic residues modulo p among 1,…,p-1, then the list \12\p,…,\((p-1)/2)2\p (with \k\p the least nonnegative residue of k modulo p) is a permutation of a1,…,a(p-1)/2, and we show that the sign of this permutation is 1 or (-1)(h(-p)+1)/2 according as p3 8 or p7 8, where h(-p) is the class number of the imaginary quadratic field Q(-p). To achieve this, we evaluate the product Π1 j<k(p-1)/2(π j2/p-π k2/p) via Dirichlet's class number formula and Galois theory. We also obtain some new identities for the sine and cosine functions; for example, we determine the exact value of Π1 j<k p-1πaj2+bjk+ck2p for any a,b,c∈ Z with ac(a+b+c)0 p.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.