login
A384160
Consecutive states of the linear congruential pseudo-random number generator for 36-bit WATFOR/WATFIV when started at 1.
5
1, 131069, 17179082761, 17183408101, 34345582673, 53083917, 16988766937, 17848727413, 32066509217, 7739650845, 25740764841, 33596591109, 30610037745, 12186659885, 12166953849, 6296898965, 7334844225, 19577928253, 5497393481, 14152584229, 20226775953
OFFSET
1,2
COMMENTS
Periodic with period 2^33 (considerably less than the modulus).
WATFOR and WATFIV are early FORTRAN compilers from the University of Waterloo.
REFERENCES
Terry M. Walker, Fundamentals of Fortran Programming: with WATFOR/WATFIV, Allyn and Bacon, 1975.
FORMULA
a(n) = 131069 * a(n-1) mod 2^35.
MATHEMATICA
NestList[Mod[131069*#, 2^35] &, 1, 20] (* Stefano Spezia, May 24 2025 *)
CROSSREFS
Cf. A096550-A096561 other pseudo-random number generators.
Sequence in context: A013693 A103534 A239610 * A165478 A051331 A075972
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, May 20 2025
STATUS
approved