close
login
A384402
Consecutive states of the linear congruential pseudo-random number generator 39373*s mod (2^31-1) when started at s=1.
7
1, 39373, 1550233129, 1548773083, 2044440394, 1622092461, 482805173, 2110316932, 1218777559, 1406738292, 1756031139, 1978020682, 2113853931, 894602131, 142925769, 1009147697, 429837187, 1808425391, 1165119911, 1868072236, 293238278, 798633422, 1138165032
OFFSET
1,2
COMMENTS
Periodic with period 2^31-2.
FORMULA
a(n) = 39373 * a(n-1) mod (2^31-1).
MATHEMATICA
NestList[Mod[39373*#, 2^31 - 1] &, 1, 50] (* Paolo Xausa, May 30 2025 *)
CROSSREFS
Cf. A096550-A096561 other pseudo-random number generators.
Sequence in context: A203875 A252604 A340062 * A031823 A205035 A205283
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, May 27 2025
STATUS
approved