Let a and b be integers (not both 0) with greatest common divisor d.
Then an integer $c = ax + by$ for some $x, y \in Z$ $\iff d|c$.
In particular, d is the least positive integer of the form ax +by.
Is there intuition? Or illustration? I keep forgetting which variable is supposed to go. I'm not querying proofs.
Withal, if I write $ax + by = c$ as $ax \equiv c \; (mod \, b)$, then an error is even more likely! I can't remember if it's $c|d$, $b|c$, $c|a$, or some other wrong combination...
Origin - Elementary Number Theory, Jones, p10, Theorem 1.8
It's definitely something you can develop intuition for. Since $a$ and $b$ have common divison $d$, we have
$$c = ax+by = dzx+dwy = d(zx+dw)$$
for some $z,w$. Hence $d | c$. Think about it like simplifying fractions you learned in middle school or earlier. If everything in the numerator is a multiple of $d$, and the denominator is $d$, then the result is an integer.