Finding how many integers divisible by n between a-b? If I have a set of integers: $[a,b]$, how can I find the number of integers in the set are divisible by $n$? Is it possible to use a combination? Also, is there any way to display this graphically?

By the division algorithm $a=kn+i$ with $i<n$ then the number of multiples is $\lfloor\dfrac{a-b+i}{n}\rfloor$if $i\neq0$ and $\lfloor\dfrac{a-b}{n}\rfloor+1$ if $i=0$
