Documentation

AnalyticNumberTheory.Sieve.Distribution

Generic distribution lemmas #

Finite lemmas connecting the multiples of a modulus in an additive sieve support to prime-counting congruences, and the coprimality characterization used to identify sieve remainders.

A natural is coprime to a product exactly when no prime divisor of the product divides it.

theorem AnalyticNumberTheory.Sieve.prime_dvd_complement_iff_modEq {N p d : } (hp_lt : p < N) :
d N - p p N [MOD d]

For p < N, divisibility d ∣ N - p is the congruence p ≡ N [MOD d].