clear a = 0 ; for m=100:999 if rem(m,21)==0 a = a+1; end end a