Let $U$ and $V$ be independently distributed random variables from the uniform distribution $U(0,1)$.
a.) Show that $U + V \mod 1$ is also $U(0,1)$.
b.) A random number generator is defined by $$R_n = \left(\frac{X_n}{8} + \frac{Y_n}{7}\right)\mod 1$$ where $X_0 = 0$, $Y_0 = 1$, $X_{n+1} = (9X_n + 3)\mod 8$, and $Y_{n+1} = 3Y_n \mod 7$ for $n = 0,1,\ldots$ Calculate $R_0, R_1,\ldots, R_5$. What is the period of the generator $\{R_n\}$.
Thoughts for a.) I have proved that if $U,V\sim U(0,1)$ then $U + V\sim U(0,1)$ in a probability theory and Statistical Inference course but I am not sure if that proof would apply when we the $\mod 1 $ operator.
Attempted solution b.) We have $$R_0 = \left(\frac{X_0}{8} + \frac{Y_n}{7}\right)\mod 1 = \frac{1}{7}\mod 1 = \frac{1}{7}$$ and $$R_1 = \frac{45}{56}$$ etc... What I do not understand in this question is what the question means by asking what is the period of the generator $\{R_n\}$?
Any suggestions in the latter above are greatly appreciated.
For the convolution:
Let $U\sim U(0,1)$ and $V\sim(0,1)$. Now, set $Z = U + V$. So we have $$f_{U}(t) = f_{V}(t) = \begin{cases} 1 \ &\text{if} \ t\in (0,1)\\ 0 \ &\text{otherwise} \end{cases}$$ Thus $$f_{Z}(t) = \int_{0}^{1}f_{U}(t-v)f_{V}(v)dv$$ so the convolution of $Z$ is $$f_{Z}(t) = \begin{cases} t \ &\text{if} \ t\in [0,1]\\ 2-t \ &\text{if} \ t\in (1,2) \end{cases}$$