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.

A384546 Consecutive states of the linear congruential pseudo-random number generator 1732073221*s mod 2^32 when started at s=1.

Original entry on oeis.org

1, 1732073221, 2616616473, 729251197, 2797858417, 533270325, 3854126857, 3936328237, 2856078817, 3879861349, 3089187065, 2416960477, 1835568721, 733302421, 616573929, 1009912461, 1831411649, 1402287557, 1780547545, 2404171325, 3232723505, 1340662261, 515353801
Offset: 1

Views

Author

Sean A. Irvine, Jun 02 2025

Keywords

Comments

Periodic with period 2^30.

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(n<2, n,
          irem(1732073221*a(n-1), 2^32))
        end:
    seq(a(n), n=1..23);  # Alois P. Heinz, Jun 02 2025
  • Mathematica
    NestList[Mod[1732073221*#, 2^32] &, 1, 50] (* Paolo Xausa, Jun 04 2025 *)

Formula

a(n) = 1732073221 * a(n-1) mod 2^32.