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.

A384388 Consecutive internal states of the linear congruential pseudo-random number generator (5^11*s+293183133) mod 2^30 when started at s=1.

Original entry on oeis.org

1, 342011258, 674237679, 120642288, 386908109, 35940502, 86383643, 595352556, 44556633, 381355634, 755657479, 1018258856, 1413285, 36537102, 330073523, 312726564, 994425265, 820746858, 231323679, 317080416, 206637181, 363448454, 469306955, 780537692, 46655753
Offset: 1

Views

Author

Sean A. Irvine, May 27 2025

Keywords

Comments

Periodic with period 2^30.
The numbers on p. 86 of Mullish are given by s/2^30 using this generator starting from s=97584066.

References

  • Henry Mullish, A Basic Approach to BASIC, John Wiley & Sons, 1976 (see p. 86).

Crossrefs

Cf. A381318.

Programs

  • Mathematica
    NestList[Mod[5^11*# + 293183133, 2^30] &, 1, 50] (* Paolo Xausa, May 28 2025 *)

Formula

a(n) = (5^11 * a(n-1) + 293183133) mod 2^30.