close
login
A384398
Consecutive states of the linear congruential pseudo-random number generator 42024*s mod (2^31-847) when started at s=1.
7
1, 42024, 1766016576, 222470065, 1089378807, 16633650, 1080597275, 348574654, 521074075, 1882288804, 923207262, 437695422, 522223563, 796268093, 293335050, 560863460, 1102302065, 1937961990, 1924405437, 1306764430, 38219148, 1951823205, 312782725, 1786493280
OFFSET
1,2
COMMENTS
Periodic with period 2^31-848.
FORMULA
a(n) = 42024 * a(n-1) mod (2^31-847).
MATHEMATICA
NestList[Mod[42024*#, 2^31 - 847] &, 1, 50] (* Paolo Xausa, May 29 2025 *)
CROSSREFS
Cf. A096550-A096561 other pseudo-random number generators.
Sequence in context: A258685 A031849 A151818 * A374368 A186604 A345154
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, May 27 2025
STATUS
approved