3.2 Discrete random variable. Let Xi (i = 1, 2) be uniformly, independently distributed over the integers 0, 1, 2, .. ., m. Define the distance between X1 and X2 as

D = |X1 - X2|

a. Determine the pmf for D.

b. Show that E[D] = (1/3)m + (1/3)[m/(m+1)].