If we take the linear congruential algorithm with an additive component of 0,Xn+1 = (aXn) modm
Then it can be shown that if m is prime and if a given value of produces the maximum period ofm– 1 , then akwill also produce the maximum period, provided that is less than m and that and m- 1 are relatively prime. Demonstrate this by using X0= 1andm= 31and producing the sequences forak= 3 3233and34
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here