Pseudorandom numbers are generated using a recurrence relation
$$R_i=(A×R_{i−1 }+B) mod C$$
Values of A=5,B=17,C=23,$ R_0$=3.
What will be the value of $R_{2018}$
or $R_n$ for that matter?
$$R_i=(A×R_{i−1 }+B) mod C$$
Values of A=5,B=17,C=23,$ R_0$=3.
What will be the value of $R_{2018}$
or $R_n$ for that matter?