Counting the powers of a fixed prime below
ProvedVino.card_primePow_minFac_leanalytic-number-theorycircle-methodnumber-theoryprime-numbers
For a prime and , the number of powers of below is at most :
Combined with this gives — the statement that each individual prime contributes at most to Chebyshev's function, uniformly in .
Preamble
import Mathlib.NumberTheory.ArithmeticFunction.VonMangoldt import Mathlib.Data.Nat.Factorization.PrimePow import Mathlib.Data.Nat.Log import Mathlib.Analysis.SpecialFunctions.Log.Basic open Finset
Formal statement
namespace Vino
theorem card_primePow_minFac_le {p N : ℕ} (hp : p.Prime) (hN : N ≠ 0) :
((Finset.range N).filter (fun n => IsPrimePow n ∧ n.minFac = p)).card
≤ Nat.log p N := by sorry
end VinoSource
R. C. Vaughan, The Hardy-Littlewood Method, 2nd ed., Cambridge Tracts in Mathematics 125, Cambridge University Press, 1997, Chapter 3, Sections 3.1-3.2 (the three primes theorem).