MathLabs

Problem 5

Let a,b,ca,b,c be integers satisfying 0<a<c−10<a<c-1 and 1<b<c1<b<c. For each kk, 0≤k≤a0\le k\le a, let rkr_k, 0≤rk<c0\le r_k<c, be the remainder of kbkb when divided by cc. Prove that the two sets {r0,r1,r2,…,ra}\{r_0,r_1,r_2,\ldots,r_a\} and {0,1,2,…,a}\{0,1,2,\ldots,a\} are different.
Step 1 of 5: Assume equal residue sets
{r0,…,ra}={0,…,a}⟹gcd⁡(b,c)=1\{r_0,\ldots,r_a\}=\{0,\ldots,a\}\Longrightarrow\gcd(b,c)=1
Detailed analysis

Assume the two sets are equal. Then the residues r_0,…,r_a are all distinct, so gcd(b,c)=1; otherwise multiplication by b modulo c would repeat a residue before the range ends.