Find an integer $x$ whose remainder of the division with $10$ is $3$ and the remainder of the division with $7$ is $4$.
$$x-3=10k \text{ and } x-4=7l$$ From the first equation we get: $ x=10k+3$. Then we replace it at the second equation: $10k+3-4=7l \Rightarrow 10k-7l=1$. Then we solve for that which has the smaller coefficient: $7l=10k-1$ and then we put values at $k$ from $0$ to $6$. Exactly one of them will make $10k-1$ multiple of $7$. $$$$ My question is: Why do we put at $k$ only values from $0$ to $6$ ????
Suppose $10k-1$ is a multiple of $7$ and so $10k-1=7l$. Consider $10(k+7)-1$ which is equal to $(10k-1)+70$. As $10k-1$ is divisible by $7$, so then is $(10k-1)+70$ because $70$ is also divisible by $7$.
We can do the same trick by adding any multiple of $7$ to $k$, so once we have any solution for $k$, we also have a family of solutions that are all within $7$ of each other (we say the solutions are all congruent modulo $7$). It follows that we only need to check in intervals that are $7$ natural numbers long, so we could check $0$ to $6$, or $1$ to $7$, or even $1000$ to $1007$ (although I know which set of values for $k$ I'd rather choose out of that selection).