Literal reciprocal sieve weight on squarefree indices
DefinitionPrimePairSieve_ReciprocalLiteralWeightfive-primesnumber-theory
For a natural number , the literal reciprocal sieve weight is zero unless is squarefree. If is squarefree, it is the product over prime divisors of , with the factor at . This matches the weight used in the explicit reciprocal denominator expansion on the Tao five-primes mission.
Definition code
import Mathlib
open scoped BigOperators
set_option autoImplicit false
namespace PrimePairSieve
noncomputable section
/-- Literal reciprocal sieve weight on squarefree indices (Riesel--Vaughan normalization). -/
def reciprocal_literal_weight (n : ℕ) : ℝ :=
if Squarefree n then
∏ p ∈ n.primeFactors, if p = 2 then (1 : ℝ) else 2 / ((p : ℝ) - 2)
else 0
end
end PrimePairSieve
Source
T. Tao, arXiv:1201.6656, Proposition 4.10 (Riesel--Vaughan normalization)