A384081 Consecutive internal states of a linear congruential pseudo-random number generator for the Hewlett-Packard HP-20S when started at 1.
1, 997, 994009, 1026973, 3892081, 404757, 3542729, 2100813, 4510561, 7029317, 8229049, 4361853, 8767441, 1138677, 5260969, 5186093, 534721, 3116837, 7486489, 4029533, 7444401, 2067797, 1593609, 8828173, 1688481, 3415557, 5310329, 4398013, 4818961, 4504117
Offset: 1
Links
- Sean A. Irvine, Table of n, a(n) for n = 1..10000
- Hewlett-Packard, HP-20S Scientific Calculator: Owner's Manual, 1992 (see p. 75).
- W. E. Sharp and Carter Bays, A review of portable random number generators, Computers and Geosciences, 18, 1 (1982), 79-87.
- Index entries for sequences related to pseudo-random numbers.
- Index entries for linear recurrences with constant coefficients, order 500000.
Programs
-
Mathematica
NestList[Mod[997*#, 10^7] &, 1, 50] (* Paolo Xausa, May 26 2025 *)
Formula
a(n) = (997 * a(n-1)) mod 10^7.
Comments