local alt, inter, old_step = 0, 50, 0

for alt=1, 1000, 1
do 
   local step = math.modf(alt / inter)
   if(step > old_step) then
     old_step = step
     print(alt)
   end
end