login
A385033
Consecutive states of the linear congruential pseudo-random number generator 170*s mod 30323 when started at s=1.
4
1, 170, 28900, 674, 23611, 11234, 29754, 24562, 21289, 10693, 28753, 6007, 20531, 3125, 15759, 10606, 13963, 8516, 22539, 10932, 8737, 29786, 30002, 6076, 1938, 26230, 1619, 2323, 711, 29901, 19229, 24369, 18802, 12425, 19963, 27857, 5302, 21973, 5681, 25757
OFFSET
1,2
COMMENTS
Periodic with period 30322.
A component of the Wichmann-Hill generator (see A385031 for details).
LINKS
W. E. Sharp and Carter Bays, A review of portable random number generators, Computers and Geosciences, 18, 1 (1982), 79-87.
Brian A. Wichmann and I. David Hill, Algorithm AS 183: An Efficient and Portable Pseudo-Random Number Generator", J of the Royal Statistical Soc. Series C (Applied Statistics), 31, 2, (1982), 188-190.
Wikipedia, Wichmann-Hill
FORMULA
a(n) = 170 * a(n-1) mod 30323.
MATHEMATICA
NestList[Mod[170*#, 30323] &, 1, 50] (* Paolo Xausa, Jun 17 2025 *)
CROSSREFS
Sequence in context: A210784 A178499 A133328 * A098244 A250957 A114048
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Jun 15 2025
STATUS
approved