Know of this fact but not sure if I'm right in reasoning why it's true. Wondering why the division algo implies any integer is of the form $3k, 3k+1, 3k+2$ and likewise for $4k, 4k+1, 4k+2, 4k+3$.
The division algo says, let $a, b \in \mathbb{Z}$, then $\exists$ unique $q, r \in \mathbb{Z}$, s.t $a = bq+r, 0 \leq r < b$.
From what I understand we can conclude these two things because take an integer $n$. Either it is divisible by $3$ putting us in the first case, or it is congruent to $1\mod 3$, so we're in the second case with a remainder of $1$, or $2\mod 3$ giving us the last case.
And analogously for $4k, 4k+1, 4k+2, 4k+3$.
Is this correct?
To apply the division algorithm, for the case in your question, set $b=3$. Then for any integer $a$, there are unique integers $q,r$ such that $a=3q+r$ and $0\le r<3$. What are the possible values for $r$?