Let a1,a2,a_1, a_2, \ldots 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, \ldots, a_n leave nn different remainders upon division by nn.

Prove that every integer occurs exactly once in the sequence a1,a2,a_1, a_2, \ldots.