3.1.5 problem 5

(a)
is clearly non-negative. Also,

Thus, is a valid PMF.

(b)

for and for .