A positive integer K is given. Define the sequence (an) by a_1\equal{}1 and an is the n-th natural number greater than a_{n\minus{}1} which is congruent to n modulo K.
(a) Find an explicit formula for an.
(b) What is the result if K\equal{}2? number theory unsolvednumber theory