OFFSET
1,2
COMMENTS
Periodic with period 2^13.
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..8192
W. E. Sharp and Carter Bays, A review of portable random number generators, Computers and Geosciences, 18, 1 (1982), 79-87.
FORMULA
a(n) = (101*a(n-1) + 1) mod 2^13.
MATHEMATICA
NestList[Mod[101*# + 1, 2^13] &, 1, 50] (* Paolo Xausa, Jun 18 2025 *)
CROSSREFS
KEYWORD
AUTHOR
Sean A. Irvine, Jun 13 2025
STATUS
approved
