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.

A384291 Consecutive internal states of the linear congruential pseudo-random number generator (214013*s+13737667) mod 2^24 when started at s=1.

Original entry on oeis.org

1, 13951680, 13497987, 7046970, 2650389, 10542980, 14290999, 3607070, 3569769, 6625672, 160299, 10400834, 10291709, 10007756, 7450719, 7522726, 16472529, 3020112, 14720723, 14208586, 15784933, 1498900, 676231, 15697454, 3228729, 521752, 6298747, 11728210
Offset: 1

Views

Author

Sean A. Irvine, May 24 2025

Keywords

Comments

Periodic with period 2^24.
Used by some versions of IBM BASIC.

References

  • David I. Schneider, Handbook of BASIC (3rd ed.), Simon & Schuster, 1988 (see p. 497).

Crossrefs

Programs

  • Mathematica
    NestList[Mod[214013*# + 13737667, 2^24] &, 1, 50] (* Paolo Xausa, May 27 2025 *)

Formula

a(n) = (214013 * a(n-1) + 13737667) mod 2^24.