A384375 Consecutive internal states of the linear congruential pseudo-random number generator 950706376*s mod (2^31-1) when started at s=1.
1, 950706376, 129027171, 1728259899, 365181143, 1966843080, 1045174992, 636176783, 1602900997, 640853092, 429916489, 1671481929, 1285607481, 1066192246, 48796904, 1176434418, 776417870, 861463458, 1543924916, 557508687, 1650650964, 741730640, 1050856373
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.
Programs
-
Mathematica
NestList[Mod[950706376*#, 2^31 - 1] &, 1, 50] (* Paolo Xausa, May 29 2025 *)
Formula
a(n) = 950706376 * a(n-1) mod (2^31-1).
Comments