I'm trying to prove this statement:
For all integers $a$ and $b$, $4|(a+3b)$ if and only if $a ≡ b \pmod{4}$.
It's straightforward to prove that if $a ≡ b \pmod{4}$ then $4|(a+3b)$ will be valid. I'm unsure how to prove if $4|(a+3b)$ then $a ≡ b \pmod{4}$.
I've already proved that the relation defined by $4|(a+3b)$ is an equivalence relation (reflexive, symmetric, and transitive). I've used the definition of congruence to re-frame the question as this:
For all integers $a$ and $b$, if $4|(a+3b)$ then $4|(a-b)$.
I've tried thoroughly to get $a-b$ as a multiple of $4$, but I keep running into a wall where I can only prove it is a multiple of $2$.
Thank you for any help anyone can provide!
EDIT: Thank you so much for the answers I've gotten back! They have really helped and I understand congruence much better now. Thanks for taking the time to help!!