Let:
- $A=\{s,s+1,s+2,...,t\}$. Where $s,t$ are some fixed natural numbers
- $A(d,a,b)=\{m\in A: d|(m-a) \vee d|(m-b)\}$, where $d,a,b\in \mathbb{N}$
- $C$ be a finite subset of prime numbers
- $B =A\setminus \bigcup_{p\in C}A(p,a,b)$
Calculate/find formula for $|B|$. If it is impossible, the find nontrivial lower bound.
Here is what i have tried:
$$|B|=|A|-\sum_{i=1}^{|C|}(-1)^i\sum_{\{i_1,...,i_s\}\subset C}|A(i_{1},a,b)\cap ...\cap A(i_{s},a,b)|$$
I have used here an inclusion-exclusion formula.
If we put $a=b=0$, then $A(d,a,b)=A(d,0,0)=\{m\in A:d|m\}$
And we see that for relativiely prime $Q$ and $W$ we get $A(Q\cdot W, 0,0)=A(Q,0,0)\cap A(W, 0,0)$.
Furthermore $|B|=\sum_{d|D}\mu(d)A(d,0,0)$, where $D$ is a product of all the elements from $C$, and $\mu$ is a Möbius function
It seems, that we can't make a similar result for any other $a, b$
Please correct me if i am wrong.
Regards