A384567 Consecutive states of the linear congruential pseudo-random number generator for the Atari ST when started at 1.
1, 3141592622, 1588972055, 1279602700, 1481914909, 3913565466, 2610266515, 1903286488, 936717817, 3104230086, 4091513039, 469042788, 2999973781, 54420274, 4053162955, 3383133360, 3380310769, 456637022, 465319559, 936566716, 2283027469, 2613197898, 63902979
Offset: 1
References
- Megamax Inc., Laser C: C Language Development System, Atari ST, 1988 (see p. 514).
Links
- Sean A. Irvine, Table of n, a(n) for n = 1..10000
- B. D. Ripley, Thoughts on pseudorandom number generators, J of Computational and Applied Mathematics, 31, 1 (1990), 153-163.
- Index entries for sequences related to pseudo-random numbers.
Programs
-
Mathematica
NestList[Mod[3141592621*# + 1, 2^32] &, 1, 50] (* Paolo Xausa, Jun 05 2025 *)
Formula
a(n) = (3141592621 * a(n-1) + 1) mod 2^32.
Comments