Given integers $x$, $y$ and $c$. Can I always find integers a and b such that $ax + by = c$?
This is my exam question. My answers goes like this:
$ax + by = c$
Lets take $x = 2, y = 0$ and $ c = 3$.
so $2a = 3 => a = 3/2 = 1.5$
Therefore $a ∉ ℤ $
Similarly for b. Hence statment is false. Is my counter example correct? Please help. Thanks.
Yes, your counter-example is valid and thus goes part of the way toward showing that the statement in your question is false.