A384933 Consecutive states of the linear congruential pseudo-random number generator (1589013525*s + 1) mod 2^32 when started at s=1.
1, 1589013526, 2788435407, 2237951484, 147543469, 4023452466, 2064276251, 628809016, 3191326105, 3400909198, 226805927, 423946676, 1664555973, 2001363754, 382458483, 1721986928, 3087754289, 537519110, 491142271, 2895284844, 187886301, 2237693986, 992271051
Offset: 1
Links
- Sean A. Irvine, Table of n, a(n) for n = 1..10000
- B. D. Ripley, Computer Generation of Random Variables: A Tutorial, International Statistical Review, 51 (1983), 301-309.
- Index entries for sequences related to pseudo-random numbers.
Programs
-
Mathematica
NestList[Mod[1589013525*# + 1, 2^32] &, 1, 30] (* Paolo Xausa, Jun 13 2025 *)
Formula
a(n) = (1589013525*a(n-1) + 1) mod 2^32.
Comments