discrete uniform distribution mean formula