Find the smallest integer $x$ such that
$$x \mod 5 = 3\\ x \mod 7 = 4\\ x \mod 9 = 6$$
Can you tell me how to solve this type of question? I don't need a solution.
Clearly the smallest $x$ for the first one is $8$. The smallest $x$ for the second one is $11$. And for the last one it is $12$. Since $12$ is the highest of the three solutions, the $x$ I am looking for must be greater than or equal to $12$. However, $12 \mod 7 = 5 \not = 4$, so $x$ cannot be $12$ as it does not fulfil the second condition.
Technically, I can keep on going up and up until I find a fitting number for the three conditions, but I doubt that's how I am supposed to do this.