# Quadratic residues and related permutations

**Authors:** Hai-Liang Wu

arXiv: 1903.01098 · 2025-03-04

## 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.

## Key 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 $p$ be an odd prime. For any $p$-adic integer $a$ we let $\overline{a}$ denote the unique integer $x$ with $-p/2<x<p/2$ and $x-a$ divisible by $p$. In this paper we study some permutations involving quadratic residues modulo $p$. 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 $g\in\Z$ is a primitive root modulo $p$ and $1\le a_1<a_2<\cdots<a_{(p-1)/2}\le p-1$ are all quadratic residues modulo $p$. Obviously $A_i$ is a permutation of $A_j$ and we call this permutation $\sigma_{i,j}$. Sun obtained the sign of $\sigma_{0,1}$ when $p\equiv 3\pmod4$. In this paper we give the sign of $\sigma_{0,1}$ and determine the sign $\sigma_{0,2}$ when $p\equiv 1\pmod 4$.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1903.01098/full.md

## References

10 references — full list in the complete paper: https://tomesphere.com/paper/1903.01098/full.md

---
Source: https://tomesphere.com/paper/1903.01098