Page 1 of 1

While it is desirable to have a PRNG have a full period, that does not guarantee good randomness. Consider a linear cong

Posted: Tue Jul 12, 2022 8:22 am
by answerhappygod
While it is desirable to have a PRNG have a full period, thatdoes not guarantee good randomness. Consider a linear congruentialgenerator using the settings of a = 6, m = 13 and another one witha = 7, m = 13. For both cases, c=0. Write out the full twosequences for their periods. After looking at the sequences, do youfeel more comfortable with one or the other?