$$x\; ≡\; 3\; \left( \mbox{mod}\; 30 \right)$$ $$x\; ≡\; 5\; \left( \mbox{mod}\; 56 \right)$$
I have a system of modular equation that I want to solve. However, I thought that this system has no solution because the modulos are not coprime. Further, attempting to solve using chinese remainder theorem:
$$x\; ≡\; 56p\; +\; 30q$$ where $p$ is such that $$56p\; ≡\; 3\; \left( \mbox{mod}\; 30 \right)\; $$ and $q$ is such that $$30q\; ≡\; 5\; \left( \mbox{mod}\; 56 \right)\; $$
However, again the modular inverses of these do not exist.
Yet, one solution to this system of modular inequalities is $1293$. How come the Chinese remainder theorem gives that no solution exists?
Better if you write it as $$ x \equiv 3 \pmod 2,$$ $$ x \equiv 3 \pmod {15},$$ $$ x \equiv 5 \pmod 8,$$ $$ x \equiv 5 \pmod 7.$$
The ones with 2 and 8 are consistent, as the one with 2 is just asking for an odd number, so the system is equivalent to $$ x \equiv 3 \pmod {15},$$ $$ x \equiv 5 \pmod 8,$$ $$ x \equiv 5 \pmod 7,$$ where now the moduli are coprime. That is the requirement for the Chinese Remainder Theorem.
So we combine second and third again to get $$ x \equiv 3 \pmod {15},$$ $$ x \equiv 5 \pmod {56}.$$
For the 56 one, we have $$ 5,61,117,173,229,285,341,397,453, \ldots $$ and $$ 453 \equiv 3 \pmod {15}. $$