If I am given two values such as $x = 14$ and $y = 21 $ is there any reliable method to prove that the sum of combinations of these numbers can lie in the range $170-174$?
I am assuming it has something to do with the $\operatorname{gcf}(a, b)$ which is $7$. I'm looking for a method more efficient than trying all possible combinations.
Since the greatest common divisor of $14$ and $21$ is $7$, any linear combination $14n + 21m$ is divisible by $7$. However, no number between $170$ and $174$ is divisible by $7$, so no linear combination of $14$ and $21$ can be between $170$ and $174$.