OFFSET
1,2
COMMENTS
Periodic with period 2^31-2.
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..10000
B. D. Ripley, Computer Generation of Random Variables: A Tutorial, International Statistical Review, 51 (1983), 301-309.
Alan Tootill, PCW Subset, Personal Computer World, September 1982, see p. 173.
FORMULA
a(n) = 513 * a(n-1) mod (2^31-1).
MATHEMATICA
NestList[Mod[513*#, 2^31 - 1] &, 1, 30] (* Paolo Xausa, Jun 13 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Jun 12 2025
STATUS
approved
