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.

A382305 Consecutive internal states of the linear congruential pseudo-random number rand48 for Unix when started at 1.

Original entry on oeis.org

1, 25214903928, 206026503483683, 245470556921330, 105707381795861, 223576932655868, 102497929776471, 87262199322646, 266094224901481, 44061996164032, 147838658590923, 157704700760186, 262146585501693, 99421425265860, 6056585619327, 169186298309406
Offset: 1

Views

Author

Sean A. Irvine, Jun 08 2025

Keywords

Comments

Periodic with period 2^48.
A widely used generator because it is included in POSIX glibc.
Also used internally by Java in java.util.Random.
Also provided by the GNU Scientific Library.

Crossrefs

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

Programs

  • Mathematica
    NestList[Mod[25214903917*# + 11, 2^48] &, 1, 30] (* Paolo Xausa, Jun 09 2025 *)

Formula

a(n) = (25214903917 * a(n-1) + 11) mod 2^48.