Deciphering Parameters for an Linear Congruential Generator

后端 未结 0 748
独厮守ぢ
独厮守ぢ 2020-11-21 10:11

The following random number sequence is generated using the LCG formula: (a * Xn + c) mod m

Where n = n+1 and X0 (seed) = 16

16, 55, 172, 11, 40, 127, 1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题