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:
Write out the two sequences to show that both are full period.Which one appears more random to you?
Xn+1 (6X) mod 13 Xn+1 (7X) mod 13 =
Step by Step Solution
3.42 Rating (146 Votes )
There are 3 Steps involved in it
Let us start with an initial seed of 1 The first generator yields ... View full answer
Get step-by-step solutions from verified subject matter experts
