OFFSET
1,2
COMMENTS
Periodic with period 30322.
A component of the Wichmann-Hill generator (see A385031 for details).
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..10000
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
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Jun 15 2025
STATUS
approved
