A384388 Consecutive internal states of the linear congruential pseudo-random number generator (5^11*s+293183133) mod 2^30 when started at s=1.
1, 342011258, 674237679, 120642288, 386908109, 35940502, 86383643, 595352556, 44556633, 381355634, 755657479, 1018258856, 1413285, 36537102, 330073523, 312726564, 994425265, 820746858, 231323679, 317080416, 206637181, 363448454, 469306955, 780537692, 46655753
Offset: 1
References
- Henry Mullish, A Basic Approach to BASIC, John Wiley & Sons, 1976 (see p. 86).
Links
Crossrefs
Cf. A381318.
Programs
-
Mathematica
NestList[Mod[5^11*# + 293183133, 2^30] &, 1, 50] (* Paolo Xausa, May 28 2025 *)
Formula
a(n) = (5^11 * a(n-1) + 293183133) mod 2^30.
Comments