Skip to main content
QUICK REVIEW

[Paper Review] Squares and Cubes Modulo n

Steven R. Finch, Pascal Sebah|arXiv (Cornell University)|Apr 21, 2006
Mathematics and ApplicationsMathematics8 references8 citations
TL;DR

This paper investigates the asymptotic distribution of squares, cubes, and roots of unity modulo n using the Selberg-Delange method applied to Dirichlet series. It derives precise asymptotic formulas for the average number of quadratic residues, cubic residues, and solutions to equations like x² ≡ 1 mod n and x³ ≡ 0 mod n in ℤₙ and ℤₙ*, yielding explicit constants involving ζ(2), π, and Euler products over primes in arithmetic progressions.

ABSTRACT

We study the asymptotics of the average number of squares (or quadratic residues) in Z_n and Z_n^*. Similar analyses are performed for cubes, square roots of 0 and 1, and cube roots of 0 and 1.

Motivation & Objective

  • To systematically analyze the average number of squares, cubes, and special solutions (e.g., x² ≡ 1) in ℤₙ and ℤₙ* for arbitrary n.
  • To fill a gap in the literature by providing explicit asymptotic formulas for these average counts, which are not readily available in standard references.
  • To demonstrate the application of the Selberg-Delange method and Dirichlet series techniques to arithmetic functions over arithmetic progressions.
  • To compute and document numerical constants for Euler products over primes in arithmetic progressions, particularly modulo 3 and 8.
  • To provide a unified computational framework for evaluating such constants with high precision using character sums and L-functions.

Proposed method

  • Application of the Selberg-Delange method to Dirichlet series ∑ φ(n)/n^{s+1} to derive asymptotic counts of elements in ℤₙ*.
  • Use of multiplicative functions and Euler products to model the number of solutions to x² ≡ 1 mod n and x³ ≡ 1 mod n in terms of ω(n), the number of distinct prime factors.
  • Adaptation of the method to arithmetic progressions by introducing Dirichlet characters modulo k = 2^m or 3^m to isolate n ≡ ℓ mod k.
  • Construction of Dirichlet L-series L_χ(s) and associated generating functions F_χ(s) = G_χ(s) · L_χ(s)^z to model the asymptotic density of solutions.
  • Employment of Hurwitz zeta functions and Möbius inversion to compute logarithmic sums P_{k,ℓ}(s) = ∑_{p≡ℓ mod k} log(1 - f(p)/p^s), enabling high-precision evaluation of infinite products.
  • Numerical acceleration via series expansion and truncation, with convergence improved by subtracting known initial terms (e.g., up to p = 31), to compute constants like ∏_{p≡1 mod 3} (1 - 2/(p(p+1))) to 20+ decimal places.

Experimental results

Research questions

  • RQ1What is the average number of solutions to x² ≡ 1 in ℤₙ* as n varies over positive integers?
  • RQ2What is the average number of solutions to x³ ≡ 1 in ℤₙ*?
  • RQ3What is the average number of solutions to x² ≡ 0 in ℤₙ?
  • RQ4What is the average number of images of the squaring map y ↦ y² in ℤₙ and ℤₙ*?
  • RQ5What is the average number of images of the cubing map y ↦ y³ in ℤₙ and ℤₙ*?

Key findings

  • The average number of solutions to x² ≡ 1 in ℤₙ* is asymptotically (6/π²) · N · ln N as N → ∞.
  • For n ≡ 1, 3, 4, 5, 7 mod 8, the number of solutions to x² ≡ 1 in ℤₙ* is 2^{ω(n)}; for n ≡ 2, 6 mod 8, it is 2^{ω(n)−1}; and for n ≡ 0 mod 8, it is 2^{ω(n)+1}.
  • The average number of solutions to x³ ≡ 1 in ℤₙ* is asymptotically (1/ζ(3)) · N · (ln N)^{1/2} / Γ(1/2) up to a constant factor involving L-functions.
  • The average number of images of the squaring map in ℤₙ is asymptotically (3/π²) · N², matching the known asymptotic for ∑_{n≤N} φ(n).
  • The average number of images of the cubing map in ℤₙ* is asymptotically proportional to N · (ln N)^{1/3} / Γ(1/3), derived from the Selberg-Delange method applied to cubic residues.
  • A constant C = ∏_{p≡1 mod 3} (1 - 2/(p(p+1))) is computed to 20 decimal places as 0.941034941319535451790..., using high-precision evaluation of P_{3,1}(s) and series acceleration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.