An experiment consists of selecting an integer X at random from {1,2..,100} and then selecting an integer Y at random from { 1,2,...,X}.
a) Find the pmf of X.
b) Find the conditional pmf of Y given X=x.
c) Find the conditional expectation E (Y | x ).
d) Find E(Y) using the law of total expectation