MathLabs

Problem 2

Let a1,a2,…a_1, a_2, \dots be a sequence of integers with infinitely many positive and negative terms. Suppose that for every positive integer nn the numbers a1,a2,…,ana_1, a_2, \dots, a_n leave nn different remainders upon division by nn. Prove that every integer occurs exactly once in the sequence.
Step 1 of 5: No term repeats
In plain words

If two terms were equal, they would trivially share a remainder, clashing with the hypothesis that early remainders are all different.

i<j, ai=aj ⟹ contradiction at n=ji<j,\ a_i=a_j\ \Longrightarrow\ \text{contradiction at }n=j
Detailed analysis

Suppose ai=aja_i=a_j for some i<ji<j, and take n=jn=j. Among a1,…,ana_1,\dots,a_n the hypothesis forces nn distinct remainders mod nn, but ai≡aj(modn)a_i\equiv a_j\pmod n trivially since ai=aja_i=a_j — a contradiction. So every integer appears in the sequence at most once.