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.

A384398 Consecutive states of the linear congruential pseudo-random number generator 42024*s mod (2^31-847) when started at s=1.

Original entry on oeis.org

1, 42024, 1766016576, 222470065, 1089378807, 16633650, 1080597275, 348574654, 521074075, 1882288804, 923207262, 437695422, 522223563, 796268093, 293335050, 560863460, 1102302065, 1937961990, 1924405437, 1306764430, 38219148, 1951823205, 312782725, 1786493280
Offset: 1

Views

Author

Sean A. Irvine, May 27 2025

Keywords

Comments

Periodic with period 2^31-848.

Crossrefs

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

Programs

  • Mathematica
    NestList[Mod[42024*#, 2^31 - 847] &, 1, 50] (* Paolo Xausa, May 29 2025 *)

Formula

a(n) = 42024 * a(n-1) mod (2^31-847).