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.

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

Original entry on oeis.org

1, 69621, 552116347, 1082396834, 201323037, 1832878655, 1219051368, 874078441, 971035822, 1699755902, 1619285207, 1953863635, 1883480414, 143449980, 1332099030, 837788288, 2002546328, 344571154, 1995975644, 300997201, 580703395, 623924873, 1121855264
Offset: 1

Views

Author

Sean A. Irvine, May 27 2025

Keywords

Comments

Periodic with period 2^31-2.
Presented by Carta as an alternative to Park and Miller's Minimal Standard Generator.

Crossrefs

Programs

  • Mathematica
    NestList[Mod[69621*#, 2^31 - 1] &, 1, 50] (* Paolo Xausa, Jun 04 2025 *)

Formula

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