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.

A382684 Consecutive internal states of the linear congruential pseudo-random number generator for BCPL when started at 1.

Original entry on oeis.org

1, 2862137630, 1410400247, 1369397724, 1652384221, 2669374922, 2140954419, 1701427304, 2594835833, 3034226998, 3288120879, 389815220, 357129941, 541493090, 3104757995, 2854522816, 2013295089, 2081295438, 2466720615, 4256030860, 3056739021, 751492090
Offset: 1

Views

Author

Sean A. Irvine, Jun 02 2025

Keywords

Comments

Periodic with period 2^32.

Crossrefs

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

Programs

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

Formula

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