Question: Linear congruential generators (LCG) are defined by the recursive formula: 1 Zi = (aZi1 + c)(modm) where m is the modulus, a is the multiplier
Linear congruential generators (LCG) are defined by the recursive formula: 1 Zi = (aZi1 + c)(modm) where m is the modulus, a is the multiplier and c is the increment.
1. What is the upper limit of the period of the above generator?
2. Why is recommended that LCG have full periods?
3. Distinguish between mixed LCG and multiplicative LCG.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
