I encountered the following question, which is a sample of similar questions.
A restaurant has a fixed number of chairs. If they are set around tables with a capacity of 7 (divide them into groups of 7), no chair is left over. If they are set around tables with a capacity of 4, there are two chairs left over. If they are set around tables with a capacity of 3, one chair is left over. How many numbers smaller than 1000 are there for the capacity of the restaurant?
I know that the problem states the following relationships:
$n= 7k_1 = 4k_2+2=3k_3+1$
With try and error (examining the numbers divisible by 7) I could find $70$, but it is time-consuming. However, I have no strategy to put this problem in a mathematic formula, and how to find the remaining numbers.
Firstly observe that the problem is equivalent to the following modular system
and the existence and uniqueness of the solution $\pmod{7\cdot4\cdot3}\,$ is guaranteed by CRT.
To solve we can observe that
Therefore all the solutions are
$$x=70, \,70+84,\, 70+2\cdot 84,...$$
More informally in this simple case we can also find $70$ by inspection as you did and then note that we can add up multiple factors $7\cdot4\cdot3=84$ to obtain others solution (in any case for the uniqueness we should always refer to CRT).