close
login
A384405
Consecutive internal states of the linear congruential pseudo-random number generator 69621 * s mod (2^31-1) when started at s=1.
2
1, 69621, 552116347, 1082396834, 201323037, 1832878655, 1219051368, 874078441, 971035822, 1699755902, 1619285207, 1953863635, 1883480414, 143449980, 1332099030, 837788288, 2002546328, 344571154, 1995975644, 300997201, 580703395, 623924873, 1121855264
OFFSET
1,2
COMMENTS
Periodic with period 2^31-2.
Presented by Carta as an alternative to Park and Miller's Minimal Standard Generator.
FORMULA
a(n) = 69621 * a(n-1) mod (2^31-1).
MATHEMATICA
NestList[Mod[69621*#, 2^31 - 1] &, 1, 50] (* Paolo Xausa, Jun 04 2025 *)
CROSSREFS
Sequence in context: A052195 A089218 A224324 * A053075 A154818 A069919
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, May 27 2025
STATUS
approved