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]
Other references:
[IK04] Iwaniec, Henryk; and Kowalski, Emmanuel (2004). Analytic Number Theory. American Mathematical Society Colloquium Publications, Vol. 53.
Let
Then
ll represents
a density one subset of positive integers
the image of ll - Im(l)\mathrm{Im}\left(l\right)
subset it represents
is one density
Notation
More precisely
Proof
our 1-density set
let's write it this way
let's define new N=An+BCN=An+BC
new set
because there is bijection between old and new sets n→N=An+BCn\to N=An+BC
it is sufficient to prove the lemma for the new set
(we will use n:=Nn:=N and X:=AX+BCX:=AX+BC)
Dirichlet's theorem on arithmetic progression
we split the set to those nn which are divisible by any prime factor pp and those which are not
complementary
it is sufficient to bound one of the sets, as they are...
we then prove 1-density of nn divisible by pp through ratio in limit lim⁡X→∞\lim_{X\rightarrow\infty}
for completeness of proof we need to verify that we still find such x,yx,y which are integers
(BB and pp are invertible  mod A\bmod A)
To bound the cardinality we set
multiplicative indicator function
(indicates with value 1\mathbf{1} when nn doesn't have a prime factor pp)
multiplicative
f(1)=1\small f\left(1\right)=\mathbf{1} by convention for empty set
Abel's summation formula
[IK04, book p. 19, eq. 1.61]
(1n≤t\mathbf{1}_{n\le t} - indicator returns 11 when n≤tn\le t)
(indicator returns 00 when t<nt\lt n)
(for X<nX\lt n integral returns 00)
(f(n)f\left(n\right) - returns either 00 or 11)
(so it is sufficient to prove stronger inequality)
(always true for 1≤X1\le X)
[IK04, book p. 20, between equations 1.84–1.85]
Euler product formula for Dirichlet series
ff is bounded and multiplicative
(in denominator ns,s=1n^s, s=1)
geometric series
(Mercator series)
(here we technically do not have to explicitly write p≢B(mod A)_{p\not\equiv B\left(\text{mod}\ A\right)} under the product as for p≡B(mod A)_{p\equiv B\left(\text{mod}\ A\right)} f(p)f\left(p\right) returns 00 and the product term stays equal to 11 not changing the final product)
Third Mertens' theorem
(primes of residue class B( mod  A)\small B\left(\bmod\ A\right) are 1φ(A)\frac{1}{\varphi\left(A\right)} of all primes ∀p ⁣:gcd⁡(A,p)=1\forall p\colon\small\gcd\left(A,p\right)=1)
Euler's totient function
Second Mertens' Theorem
MM is a fixed constant, while O(1/log⁡X)O(1/\log X) is of lower order both neglible for our final bound
cardinality
density/proportion
as X→∞  ■X\rightarrow\infty\ \ \blacksquare.