A384340 Consecutive states of the linear congruential pseudo-random number generator (314159221*s+211324863) mod 10^9 when started at s=1.
1, 525484084, 688663427, 968835230, 345480693, 594745016, 131517399, 829111042, 288543145, 869414908, 434391531, 199282214, 320720157, 893442560, 869170623, 49089546, 741928529, 919640772, 742683475, 166897838, 983989061, 87606344, 997022887, 710415890
Offset: 1
Links
- Sean A. Irvine, Table of n, a(n) for n = 1..10000
- A.J. Van Es, R.D. Gill, and C. Van Putten, Random number generators for a pocket calculator, Statistica Neerlandica, 37, 3 (1983), 95-102.
- Index entries for sequences related to pseudo-random numbers.
Programs
-
Mathematica
NestList[Mod[314159221*# + 211324863, 10^9] &, 1, 50] (* Paolo Xausa, May 27 2025 *)
Formula
a(n) = (314159221 * a(n-1) + 211324863) mod 10^9.
Comments