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.

A384567 Consecutive states of the linear congruential pseudo-random number generator for the Atari ST when started at 1.

Original entry on oeis.org

1, 3141592622, 1588972055, 1279602700, 1481914909, 3913565466, 2610266515, 1903286488, 936717817, 3104230086, 4091513039, 469042788, 2999973781, 54420274, 4053162955, 3383133360, 3380310769, 456637022, 465319559, 936566716, 2283027469, 2613197898, 63902979
Offset: 1

Views

Author

Sean A. Irvine, Jun 03 2025

Keywords

Comments

Periodic with period 2^32.

References

  • Megamax Inc., Laser C: C Language Development System, Atari ST, 1988 (see p. 514).

Crossrefs

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

Programs

  • Mathematica
    NestList[Mod[3141592621*# + 1, 2^32] &, 1, 50] (* Paolo Xausa, Jun 05 2025 *)

Formula

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