next up previous

Example 2 LCG (5, 0, 16, 1)

As illustrated in Figure 4, we obtain the sequence
1,5,9,13,1,5,9,13,

Figure 4: Random Number Cycle for Example 2-- LCG(5,0,16,1).