Question: With the linear congruential algorithm, a choice of parameters that provides a full period does not necessarily provide a good randomization. For example, consider the
With the linear congruential algorithm, a choice of parameters that provides a full period does not necessarily provide a good randomization. For example, consider the following two generators:
Xn+1 = (6Xn) mod 13
Xn+1 = (7Xn) mod 13
Write out the two sequences to show that both are full period. Which one appears more random to you?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
