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.

A384933 Consecutive states of the linear congruential pseudo-random number generator (1589013525*s + 1) mod 2^32 when started at s=1.

Original entry on oeis.org

1, 1589013526, 2788435407, 2237951484, 147543469, 4023452466, 2064276251, 628809016, 3191326105, 3400909198, 226805927, 423946676, 1664555973, 2001363754, 382458483, 1721986928, 3087754289, 537519110, 491142271, 2895284844, 187886301, 2237693986, 992271051
Offset: 1

Views

Author

Sean A. Irvine, Jun 12 2025

Keywords

Comments

Periodic with period 2^32.

Crossrefs

Cf. A096551-A096561 (other pseudo-random number generators).

Programs

  • Mathematica
    NestList[Mod[1589013525*# + 1, 2^32] &, 1, 30] (* Paolo Xausa, Jun 13 2025 *)

Formula

a(n) = (1589013525*a(n-1) + 1) mod 2^32.