T4.1 Recursive dice

a)
(for ) so
b)
Since , we must have
Therefore,
c)
calculate the expected value: (using linearity of the expected value)
calculate the variance:
Since is uniform on we have

(for ) so
Since , we must have
Therefore,
calculate the expected value: (using linearity of the expected value)
calculate the variance:
Since is uniform on we have