A384398 Consecutive states of the linear congruential pseudo-random number generator 42024*s mod (2^31-847) when started at s=1.
1, 42024, 1766016576, 222470065, 1089378807, 16633650, 1080597275, 348574654, 521074075, 1882288804, 923207262, 437695422, 522223563, 796268093, 293335050, 560863460, 1102302065, 1937961990, 1924405437, 1306764430, 38219148, 1951823205, 312782725, 1786493280
Offset: 1
Links
- Sean A. Irvine, Table of n, a(n) for n = 1..10000
- Pierre L'Ecuyer, Efficient and portable combined random number generators, Commun. ACM, 31, 6 (1988), 742-749 and 774.
- Index entries for sequences related to pseudo-random numbers.
Crossrefs
Programs
-
Mathematica
NestList[Mod[42024*#, 2^31 - 847] &, 1, 50] (* Paolo Xausa, May 29 2025 *)
Formula
a(n) = 42024 * a(n-1) mod (2^31-847).
Comments