Suppose that $a,b,q,r$ are any integers such that $b > 0$ and $a = bq + r$, with $0\le r<b$, and suppose $b|a$.
Must it be the case that $r = 0$? Justify your answer.
Can anyone please let me know how can I start this problem ? Thanks
Suppose that $a,b,q,r$ are any integers such that $b > 0$ and $a = bq + r$, with $0\le r<b$, and suppose $b|a$.
Must it be the case that $r = 0$? Justify your answer.
Can anyone please let me know how can I start this problem ? Thanks
Hint: since $b|a$, this means that (by definition) $a=k\cdot b$ for some $k\in\mathbb Z$. This means that $$qb+r=kb.$$
All you have to prove now is that $q=k$.
Hint 2: The equation is equivalent to $r=(k-q)\cdot b$.