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.

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

Original entry on oeis.org

1, 33952834046453, 181226512753785, 17547632994509, 138001340383537, 86153482263781, 229799995061289, 280681352600637, 119513974041441, 216025667693781, 238363414258905, 47318339740845, 113868956675729, 85138704755141, 217581192963721, 88846792569373
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(33952834046453*a(n-1), 2^48))
        end:
    seq(a(n), n=1..16);  # Alois P. Heinz, Jun 09 2025
  • Mathematica
    NestList[Mod[33952834046453*#, 2^48] &, 1, 30] (* Paolo Xausa, Jun 11 2025 *)

Formula

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