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.

This page as a plain text file.
%I A382305 #59 Jun 22 2025 18:21:38
%S A382305 1,25214903928,206026503483683,245470556921330,105707381795861,
%T A382305 223576932655868,102497929776471,87262199322646,266094224901481,
%U A382305 44061996164032,147838658590923,157704700760186,262146585501693,99421425265860,6056585619327,169186298309406
%N A382305 Consecutive internal states of the linear congruential pseudo-random number rand48 for Unix when started at 1.
%C A382305 Periodic with period 2^48.
%C A382305 A widely used generator because it is included in POSIX glibc.
%C A382305 Also used internally by Java in java.util.Random.
%C A382305 Also provided by the GNU Scientific Library.
%H A382305 Sean A. Irvine, <a href="/A382305/b382305.txt">Table of n, a(n) for n = 1..10000</a>
%H A382305 Mark Galassi, Jim Davies, James Theiler, Brian Gough, Gerard Jungman, Michael Booth, and Fabrice Rossi, <a href="https://www.gnu.org/software/gsl/doc/latex/gsl-ref.pdf">GNU Scientific Library: Reference Manual</a>, 2003 (see p. 184).
%H A382305 B. D. Ripley, <a href="https://doi.org/10.1016/0377-0427(90)90346-2">Thoughts on pseudorandom number generators</a>, J of Computational and Applied Mathematics, 31, 1 (1990), 153-163.
%H A382305 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A382305 a(n) = (25214903917 * a(n-1) + 11) mod 2^48.
%t A382305 NestList[Mod[25214903917*# + 11, 2^48] &, 1, 30] (* _Paolo Xausa_, Jun 09 2025 *)
%Y A382305 Cf. A096550-A096561 (other pseudo-random number generators).
%K A382305 nonn,easy
%O A382305 1,2
%A A382305 _Sean A. Irvine_, Jun 08 2025