Density-one Lemma 4.4. (Davis–Lelièvre)
[Kontorovich, Alex; and Zhang, Xin (2024). On the Local-Global Conjecture for Combinatorial Period Lengths of Closed Billiards on the Regular Pentagon. arXiv preprint arXiv:2409.10682. See p. 8. Available at https://arxiv.org/abs/2409.10682] [IK04] Iwaniec, Henryk; and Kowalski, Emmanuel (2004). Analytic Number Theory. American Mathematical Society Colloquium Publications, Vol. 53.
a density one subset of positive integers
the image of l - Im(l) let's define new N=An+BC because there is bijection between old and new sets n→N=An+BC it is sufficient to prove the lemma for the new set
(we will use n:=N and X:=AX+BC) Dirichlet's theorem on arithmetic progression
we split the set to those n which are divisible by any prime factor p and those which are not it is sufficient to bound one of the sets, as they are...
we then prove 1-density of n divisible by p through ratio in limit limX→∞ for completeness of proof we need to verify that we still find such x,y which are integers (B and p are invertible modA) To bound the cardinality we set
multiplicative indicator function
(indicates with value 1 when n doesn't have a prime factor p) f(1)=1 by convention for empty set [IK04, book p. 19, eq. 1.61]
(1n≤t - indicator returns 1 when n≤t) (indicator returns 0 when t<n) (for X<n integral returns 0) (f(n) - returns either 0 or 1) (so it is sufficient to prove stronger inequality)
(always true for 1≤X) [IK04, book p. 20, between equations 1.84–1.85]
Euler product formula for Dirichlet series
f is bounded and multiplicative (in denominator ns,s=1) (here we technically do not have to explicitly write p≡B(mod A) under the product as for p≡B(mod A) f(p) returns 0 and the product term stays equal to 1 not changing the final product) (primes of residue class B(mod A) are φ(A)1 of all primes ∀p:gcd(A,p)=1) M is a fixed constant, while O(1/logX) is of lower order both neglible for our final bound as X→∞ ■.