div = 2 %div = 10 n = 1; while 1+n > 1 n = n/div; 1+n; end n*div