A385127 Consecutive internal states of the linear congruential pseudo-random number generator for gcc 2.6.3 when started at 1.
1, 69074, 475904815, 884950952, 997714317, 2674863854, 2153294491, 4064640292, 103025113, 3375687626, 3068976839, 1640333408, 3540823269, 1389565030, 527860659, 3125448028, 2218581681, 3669905602, 625116511, 3161038872, 3721292605, 2231040222, 880447435
Offset: 1
Links
- Sean A. Irvine, Table of n, a(n) for n = 1..10000
- George S. Fishman, Multiplicative Congruential Random Number Generators with Modulus 2^beta: An Exhaustive Analysis for beta = 32 and a Partial Analysis for beta = 48, Math. Comp., 54, 189 (1990), 331-344.
- Index entries for sequences related to pseudo-random numbers.
Programs
-
Mathematica
NestList[Mod[69069*# + 5, 2^32] &, 1, 50] (* Paolo Xausa, Jun 19 2025 *)
Formula
a(n) = (69069 * a(n-1) + 5) mod 2^32.
Comments