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.

A384780 Consecutive states of the linear congruential pseudo-random number generator 127107890972165*s mod 2^48 when started at 1.

Original entry on oeis.org

1, 127107890972165, 97936613129241, 273514721657469, 208157768792689, 190871074753077, 130077535940873, 140242115373869, 12589906159073, 144775771571045, 83191635750649, 67018942496989, 27094905090641, 40503495991701, 211801672787433, 25600309900173
Offset: 1

Views

Author

Sean A. Irvine, Jun 09 2025

Keywords

Comments

Periodic with period 2^46.

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(n<2, n,
          irem(127107890972165*a(n-1), 2^48))
        end:
    seq(a(n), n=1..16);  # Alois P. Heinz, Jun 09 2025
  • Mathematica
    NestList[Mod[127107890972165*#, 2^48] &, 1, 30] (* Paolo Xausa, Jun 11 2025 *)

Formula

a(n) = 127107890972165 * a(n-1) mod 2^48.