Show that there exists an integer $x$ such that $x\equiv 23 \mod 1000$ and $x\equiv 45 \mod 6789$
I am unable to understand how to find such an integer .I tried using some examples like $7023,8023,9023..$ but none are satisfying the second equation.Also solutions of the second one don't satisfy the first one.
Is the problem a correct one?Please help.
4,087,023 = 4,087 * 1,000 + 23
4,087,023 = 602 * 6,789 + 45
Therefore a solution exists.