I'm having a bit of a hard time with a number theory theorem. The statement is as follows:
If $ca \equiv cb \, \text{mod}\, n$, then $a \equiv b \, \text{mod}\, \frac{n}{d}$, where $d=\text{gcf}(c,n)$
(from David M Burton's Elementary Number Theory, Theorem 4.3)
Which means that
if $ca \equiv cb \, \text{mod}\, n$, then $c(a-b)=kn \,, k \in \mathbb{Z}$
so $a-b=k \times \frac{n}{c}$.
My understanding is that when $c=d$ then $c$ is the largest number that both $n$ and $c$ can be divided by, so it gives a sort of "simplest form" for the congruency. But it does not really. For example
$20 \times 40 \equiv 20 \times 10 \quad \text{mod}\, 30$
$\text{gcf}(20, 30)=10$
so $2 \times 40 \equiv 2 \times 10 \quad \text{mod}\, 3$
which is true, but we can still go further and say that $80 \equiv 20 \equiv 2 \quad \text{mod}\, 3$
So stating that $80 \equiv 20 \quad \text{mod}\, 3$ doesn't seem to give more information than if I just divide by ANY common factor of $n$ and $c$.
when $c=5$
$20 \times 40 \equiv 20 \times 10 \quad \text{mod}\, 30$
$160 \equiv 40 \quad \text{mod}\, 6$
which yes, can be further simplified id I divide everything by 2. Is that all? Is that what the theorem states? That there can be no further simplification in terms of congruencies if $c=d$ and it's not about giving the least non negative residue necessarily?
I hope my issue makes sense, any help would be appreciated.