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.

A384696 Consecutive states of the linear congruential pseudo-random number generator Cray RANF when started at 1.

Original entry on oeis.org

1, 44485709377909, 232253848878969, 94800993741645, 243522309605169, 20783065360997, 154093299791145, 161954398135485, 183663036741473, 207319719370837, 142356556532697, 278312552510253, 242082341486737, 37630394630981, 176334633251721, 233894773868189
Offset: 1

Views

Author

Sean A. Irvine, Jun 07 2025

Keywords

Comments

Periodic with period 2^46.
Also implemented in the GNU Scientific Library as gsl_rng_ranf.
Also implemented in PASCLIB for Pascal programs on the CDC Cyber computers.

Crossrefs

Cf. A096550-A096561 other pseudo-random number generators.

Programs

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

Formula

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