English

Quadratic residues and quartic residues modulo primes

Number Theory 2020-09-11 v8

Abstract

In this paper we study some products related to quadratic residues and quartic residues modulo primes. Let pp be an odd prime and let AA be any integer. We mainly determine completely the product fp(A):=1i,j(p1)/2pi2Aijj2(i2Aijj2)f_p(A):=\prod_{1\le i,j\le(p-1)/2\atop p\nmid i^2-Aij-j^2}(i^2-Aij-j^2) modulo pp; for example, if p1(mod4)p\equiv1\pmod4 then fp(A){(A2+4)(p1)/4(modp)if (A2+4p)=1,(A24)(p1)/4(modp)if (A2+4p)=1,f_p(A)\equiv\begin{cases}-(A^2+4)^{(p-1)/4}\pmod p&\text{if}\ (\frac{A^2+4}p)=1, \\(-A^2-4)^{(p-1)/4}\pmod p&\text{if}\ (\frac{A^2+4}p)=-1,\end{cases} where (p)(\frac{\cdot}p) denotes the Legendre symbol. We also determine i,j=1p2i2+5ij+2j2(p1)/2(2i2+5ij+2j2) and i,j=1p2i25ij+2j2(p1)/2(2i25ij+2j2)\prod^{(p-1)/2}_{i,j=1\atop p\nmid 2i^2+5ij+2j^2}\left(2i^2+5ij+2j^2\right) \ \text{and}\ \prod^{(p-1)/2}_{i,j=1\atop p\nmid 2i^2-5ij+2j^2}\left(2i^2-5ij+2j^2\right) modulo pp.

Keywords

Cite

@article{arxiv.1810.12102,
  title  = {Quadratic residues and quartic residues modulo primes},
  author = {Zhi-Wei Sun},
  journal= {arXiv preprint arXiv:1810.12102},
  year   = {2020}
}

Comments

22 pages, final version

R2 v1 2026-06-23T04:55:44.776Z