i think that there is(i%3==0) because for every iteration there is to compute min(i/3,i/2,i-1);
@rajsharma96309 we have to compute i%3 and i%2 if they are divisible by 3 and 2 resp.