close
login
A384397
Consecutive states of the linear congruential pseudo-random number generator 45742*s mod (2^31-909) when started at s=1.
7
1, 45742, 2092330564, 521429475, 1283746116, 346822856, 916086159, 1929881610, 71652547, 472145160, 1777485336, 2037740772, 997589268, 2015058584, 703108709, 897067814, 1723253915, 1726644935, 72441828, 68230099, 688768691, 2085682592, 1372443189, 933442051
OFFSET
1,2
COMMENTS
Periodic with period 2^31-910.
FORMULA
a(n) = 45742 * a(n-1) mod (2^31-909).
MATHEMATICA
NestList[Mod[45742*#, 2^31 - 909] &, 1, 50] (* Paolo Xausa, May 29 2025 *)
CROSSREFS
Cf. A096550-A096561 other pseudo-random number generators.
Sequence in context: A202915 A257358 A232255 * A031841 A031635 A159725
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, May 27 2025
STATUS
approved