login
A384429
Consecutive states of the linear congruential pseudo-random number generator for Prime Sheffield Pascal when started at 1.
3
1, 16807, 282475249, 1622647863, 947787489, 1578110407, 1878557649, 613813847, 2005365185, 1564292583, 1570623665, 602936439, 1724879009, 1159739911, 1187094929, 1381381783, 437908353, 499227175, 292517489, 751367351, 1027218017, 832165447, 1791151953
OFFSET
1,2
COMMENTS
Periodic with period 2^28 (considerably less than the modulus).
A weak version of A096550.
REFERENCES
J. R. Gilbert, The University of Sheffield Pascal System for Prime Computers, University of Sheffield, 1987 (see p. 10).
LINKS
Stephen K. Park and Keith W. Miller, Random number generators: good ones are hard to find, Communications of the ACM, Vol 31, 10 (1988), 192-201.
B. D. Ripley, Computer Generation of Random Variables: A Tutorial, International Statistical Review, 51 (1983), 301-309.
FORMULA
a(n) = 16807 * a(n-1) mod 2^31.
MATHEMATICA
NestList[Mod[16807*#, 2^31] &, 1, 50] (* Paolo Xausa, May 30 2025 *)
CROSSREFS
Cf. A096550.
Sequence in context: A017357 A017477 A017609 * A096550 A184466 A214356
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, May 28 2025
STATUS
approved