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 2 of 5: Encode the residues
f(x)=∑j=0axjb−∑j=0axj,xc−1∣f(x)f(x)=\sum_{j=0}^{a}x^{jb}-\sum_{j=0}^{a}x^j,\quad x^c-1\mid f(x)
Detailed analysis

Define f(x)=1+xb+⋯+xab−(1+x+⋯+xa)f(x)=1+x^b+\cdots+x^{ab}-(1+x+\cdots+x^a). Equality of the residue sets means each exponent jbjb can be replaced by its residue modulo cc, so xc−1x^c-1 divides f(x)f(x).