A384217
Consecutive states of the linear congruential pseudo-random number generator (843314861*s+453816693) mod 2^31 when started at s=1.
Original entry on oeis.org
1, 1297131554, 17103983, 1426780792, 2111429773, 1142766270, 888797147, 1081516660, 1471148505, 488941338, 1429379591, 2081849904, 166513637, 1928300854, 1776832243, 142642604, 236172977, 1916812562, 182141599, 551190760, 1397538365, 1487855278, 1455317259
Offset: 1
- V. A. Dyck, J. D. Lawson, and J. A. Smith, FORTRAN 77: An Introduction to Structured Problem Solving, Reston Pub. Co., 1984 (see p. 467).
-
a:= proc(n) option remember; `if`(n<2, n,
irem(843314861*a(n-1)+453816693, 2^31))
end:
seq(a(n), n=1..23); # Alois P. Heinz, May 29 2025
-
NestList[Mod[843314861*# + 453816693, 2^31] &, 1, 50] (* Paolo Xausa, May 30 2025 *)
A384608
Consecutive states of the linear congruential pseudo-random number generator (129*s+27098671125) mod 2^35 when started at s=1.
Original entry on oeis.org
1, 27098671254, 18133949355, 29915928896, 3603063125, 10857477098, 18963943679, 33905981588, 2923784873, 26309797694, 19448475219, 27691073512, 25834363901, 26836992658, 18737148839, 4649447228, 8402072913, 11454449126, 27253858555, 3793372816, 1047688869
Offset: 1
- Seymour C. Hirsh, BASIC Programming Self-Taught, Reston Pub Co, Reston, VA, 1980 (see p. 156).
- Donald E. Knuth, The Art of Computer Programming, Vol 2: Seminumerical Algorithms (3rd ed.), Addison-Wesley, 1998 (see p. 106).
-
a:= proc(n) option remember; `if`(n<2, n,
irem(129*a(n-1)+27098671125, 2^35))
end:
seq(a(n), n=1..21); # Alois P. Heinz, Jun 04 2025
-
NestList[Mod[129*# + 27098671125, 2^35] &, 1, 30] (* Paolo Xausa, Jun 12 2025 *)
A384610
Consecutive states of the linear congruential pseudo-random number generator (262145*s+3) mod 2^35 when started at s=1.
Original entry on oeis.org
1, 262148, 1310727, 3145738, 5767181, 9175056, 13369363, 18350102, 24117273, 30670876, 38010911, 46137378, 55050277, 64749608, 75235371, 86507566, 98566193, 111411252, 125042743, 139460666, 154665021, 170655808, 187433027, 204996678, 223346761, 242483276
Offset: 1
- Donald E. Knuth, The Art of Computer Programming, Vol 2: Seminumerical Algorithms (3rd ed.), Addison-Wesley, 1998 (see p. 106).
-
a:= proc(n) option remember; `if`(n<2, n,
irem(262145*a(n-1)+3, 2^35))
end:
seq(a(n), n=1..26); # Alois P. Heinz, Jun 04 2025
-
NestList[Mod[262145*# + 3, 2^35] &, 1, 30] (* Paolo Xausa, Jun 12 2025 *)
A384863
Consecutive states of the linear congruential pseudo-random number generator G05CAF when started at s=1.
Original entry on oeis.org
1, 302875106592253, 458357793578900489, 130117127544889829, 214028503895537745, 129723886062288141, 506561892515206873, 27366493393768821, 104092279467936161, 249472354291378461, 22695394996597417, 331563264261234181, 550296776567063537, 359770781871757869
Offset: 1
-
NestList[Mod[13^13*#, 2^59] &, 1, 20] (* Paolo Xausa, Jun 11 2025 *)
Showing 1-4 of 4 results.
Comments