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.

Showing 1-1 of 1 results.

A384745 Consecutive states of the linear congruential pseudo-random number generator (5^17*s+1) mod 2^48 when started at s=1.

Original entry on oeis.org

1, 762939453126, 108446592504415, 237117407802652, 117233362822797, 181464088068226, 50336702857227, 255306056401528, 30528867956313, 110940877951102, 23915768730871, 190863546762260, 232890898414437, 164321838504634, 236717685210403, 41303196833264
Offset: 1

Views

Author

Sean A. Irvine, Jun 08 2025

Keywords

Comments

Periodic with period 2^48.

References

  • Brian D. Ripley, Stochastic Simulation, John Wiley & Sons, 1987 (see p. 39).

Crossrefs

Cf. A382305.

Programs

  • Mathematica
    NestList[Mod[5^17*# + 1, 2^48] &, 1, 20] (* Paolo Xausa, Jun 12 2025 *)

Formula

a(n) = (5^17 * a(n-1) + 1) mod 2^48.
Showing 1-1 of 1 results.