cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A384645 Consecutive states of the linear congruential pseudo-random number generator HSRPUN when started at 1.

Original entry on oeis.org

1, 3418906842, 8274876767, 11636484000, 6772886125, 17960856150, 33658810027, 33635241596, 6134001049, 12062168466, 17176042167, 27491204376, 18560177541, 31970401934, 4441762179, 1351356276, 30265814577, 5092081994, 21499143951, 17730019728, 16438010781
Offset: 1

Views

Author

Sean A. Irvine, Jun 05 2025

Keywords

Comments

Periodic with period 2^35.
The is the generator HSRPUN from the BCSLIB (Boeing Computer Services Library).

References

  • D. E. Knuth, The Art of Computer Programming Third Edition, Vol. 2: Seminumerical Algorithms, Addison-Wesley 1997.

Crossrefs

Cf. A384643 (same multiplier).

Programs

  • Mathematica
    NestList[Mod[5^15*# + 7261067085, 2^35] &, 1, 30] (* Paolo Xausa, Jun 12 2025 *)

Formula

a(n) = (5^15*a(n-1) + 7261067085) mod 2^35.
Showing 1-1 of 1 results.