Question: Maximum Period [ Law , 2 0 0 7 ] For m a power of 2 , say m = 2 b , and c

Maximum Period [Law,2007]
For m a power of 2, say m=2b, and c0, the longest possible period is P=m=2b, which is achieved whenever c is relatively prime to m(that is, the greatest common factors of c and m is 1) and a=1+4k, where k is an integer.
For m a power of 2, say m=2b, and c=0, the longest possible period is P=m4=2b-2, which is achieved if the seed (x0) is odd and if the multiplier a is given by a=3+8k or a=5+8k, where k is an integer =0,1,2dots
For m a prime number and c=0, the longest possible period is P=m-1, which is achieved whenever the multiplier a has the property that the smallest integer k such that ak-1 is divisible by m is k=m-1.
?2=
xi+1=(axi+c)madm
xi+1=1
Jsing the multiplicative congruential method, find the period of the generator for a=13,m=26=64, and 0=1,2,3,4.
 Maximum Period [Law,2007] For m a power of 2, say m=2b,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!