When a number is divided by $13$, the remainder is $11$. When the same number is divided by $17$, then remainder is $9$. What is the number?
How to solve it without checking for all the numbers that satisfy the below equation.
$$13p + 11 = 17q + 9$$
Edit : I tried solving above eqn by making an eqn as
$$13(q-p) + 4q = 2$$
And then tried solving using different combinations of $p$ and $q$ and getting the results as
$9 \quad(p = 2,\,q = 1)$
$5 \quad(p = 3,\, q = 2)$
$3 \quad(p = 5,\, q = 4)$
$7 \quad(p = 6,\, q = 5)$
Since the closest value to $2$ is $3$ for $p = 5, \,q = 4$, I increased $p = 6$ and kept $q = 4$ but that resulted to $10$, couldn't figure out the values of $p$ and $q$ to satisfy the eqn.
You want to solve the system $$x\equiv11\pmod{13}\\x\equiv9\pmod{17}.$$
Since $13\times17=221$, we need only go up to that value.
For the first congruence, we have $$x=11,24,37,50,63,76,89,102,115,\color{red}{128},141,154,167,180,193,206,219,\cdots$$ and for the second congruence, we have $$x=9,26,43,60,77,94,111,\color{red}{128},\cdots$$