Evaluation of at a prime modulus
ProvedVino.ramanujan_primeanalytic-number-theorycircle-methodnumber-theoryramanujan-sums
For a prime and any integer ,
Equivalently . This single evaluation is what turns the abstract -th term of the singular series into the classical local density: for the three primes problem it produces the factors and .
Preamble
import Definitions.Def_Vino_ramanujan import Mathlib.Data.Nat.Totient open Finset
Formal statement
namespace Vino
theorem ramanujan_prime {p : ℕ} (hp : p.Prime) (n : ℤ) :
ramanujan p n = if (p : ℤ) ∣ n then ((p : ℂ) - 1) else -1 := by sorry
end VinoSource
R. C. Vaughan, The Hardy-Littlewood Method, 2nd ed., Cambridge Tracts in Mathematics 125, Cambridge University Press, 1997, Section 2.6 and Chapter 3; G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 6th ed., Oxford University Press, 2008, Section 16.6 (Ramanujan's sum c_q(n)).