Instead of a normal system of congruences I have something like this: $$ \lbrace x \in S_i \bmod m_i \rbrace_{i = 1,...,t}$$
where $m_i$ are integers and $S_i$ are sets of integers for all $i = 1,...,t$. Now I'm interested in finding all solutions of this system. The moduli may not be pairwise coprime so this is good to know.
For example we have the following system:
- $ x \in \lbrace 15, 16, 17, ..., 45 \rbrace \bmod 60 $
- $ x \in \lbrace 10, 11, 12, ..., 30 \rbrace \bmod 40 $
- $ x \in \lbrace 6, 7, 8, ..., 18 \rbrace \bmod 24 $
In this case we would get $$ x \in \lbrace 15, 16, 17, 18, 30, 90, 102, 103, 104, 105 \rbrace \bmod 120 = \text{lcm} \left( 60, 40, 24 \right)$$
as the solution.
Do you know an algorithm that can compute the solutions or a paper etc. that may help me? I haven't seen anything about CRT with sets, only about the case with non pairwise-coprime modulis or the CRT for general rings. So even a hint could possibly help me a lot!
Thanks :)