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.

A384429 Consecutive states of the linear congruential pseudo-random number generator for Prime Sheffield Pascal when started at 1.

Original entry on oeis.org

1, 16807, 282475249, 1622647863, 947787489, 1578110407, 1878557649, 613813847, 2005365185, 1564292583, 1570623665, 602936439, 1724879009, 1159739911, 1187094929, 1381381783, 437908353, 499227175, 292517489, 751367351, 1027218017, 832165447, 1791151953
Offset: 1

Views

Author

Sean A. Irvine, May 28 2025

Keywords

Comments

Periodic with period 2^28 (considerably less than the modulus).
A weak version of A096550.

References

  • J. R. Gilbert, The University of Sheffield Pascal System for Prime Computers, University of Sheffield, 1987 (see p. 10).

Crossrefs

Cf. A096550.

Programs

  • Mathematica
    NestList[Mod[16807*#, 2^31] &, 1, 50] (* Paolo Xausa, May 30 2025 *)

Formula

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