Let n be a positive integer. Define a sequence by setting a1=n and, for each k>1, letting ak be the unique integer in the range 0≤ak≤k−1 for which a1+a2+...+ak is divisible by k. For instance, when n=9 the obtained sequence is 9,1,2,0,3,3,3,.... Prove that for any n the sequence a1,a2,... eventually becomes constant. inductionnumber theory proposednumber theoryInequality