The probability mass function of the discrete uniform distribution is
for , where and are integers with .
Parameters:
is a location parameter.
is a scale parameter.