A384341 Consecutive states of the linear congruential pseudo-random number generator (31481*s+21139) mod 10^5 when started at s=1.
1, 52620, 51359, 53818, 65597, 80296, 19515, 72854, 37913, 60292, 73591, 39410, 87349, 55008, 27987, 79886, 12305, 94844, 5103, 68682, 99181, 38200, 95339, 88198, 82377, 31476, 17095, 88834, 4293, 69072, 76771, 48990, 75329, 53388, 28767, 35066, 33885, 54824
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[31481*# + 21139, 10^5] &, 1, 50] (* Paolo Xausa, May 27 2025 *)
Formula
a(n) = (31481 * a(n-1) + 21139) mod 10^5.
Comments