I got asked the following question: Let $\{x_1,\dots ,x_r\}$ be a reduced system modulo $m$. For what intergers a and b the system $\{ax_1+b,\dots ,ax_r+b\}$ is also reduced modulo $m$?
Attempt:
well first its trivial that if $\{x_1,\dots ,x_r\}$ is reduced system modulo $m$ then if $\gcd(a,m)=1$ then $\{ax_1,\dots ,ax_r\}$ is also reduced system modulo $m$. Also I know that $x \to x+b$ preserves units mod $m$ iff $b$ is a multiple of rad$(m)$ as can be shown here. So the condition I found is $\gcd(a,m)=1$ and $b$ is a multiple of rad$(m)$.
I thought I was done but then someone suggested that if $m=6, a=2, b=3$, its clearly that $U_6=\{1,5\}$ (since $1$ and $5$ are the only numbers less than $6$ that are co-prime to $6$). so: $2\times1+3 = 5 \pmod 6, 5\times2+3 = 1 \pmod 6$ hence they remian a reduced system modulo m.
I am having a diffucult time understanding what other pattern is for $a$ and $b$. I thought after the exmaple I showed that we need $\gcd(a+b,m)=1$ but later I found a counter example.
Any help would be appreciated!