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.

A384399 Consecutive states of the linear congruential pseudo-random number generator 41546*s mod (2^31-837) when started at s=1.

This page as a plain text file.
%I A384399 #13 May 30 2025 03:45:16
%S A384399 1,41546,1726070116,415531613,62076069,2032989474,2081730174,
%T A384399 1986561601,1628882794,2086219292,1660453472,1609609959,240622074,
%U A384399 352201199,1750622311,406689858,2089566331,1130153051,774477142,692384319,266663829,2099100496,2099734917
%N A384399 Consecutive states of the linear congruential pseudo-random number generator 41546*s mod (2^31-837) when started at s=1.
%C A384399 Periodic with period 2^31-838.
%H A384399 Sean A. Irvine, <a href="/A384399/b384399.txt">Table of n, a(n) for n = 1..10000</a>
%H A384399 Pierre L'Ecuyer, <a href="https://doi.org/10.1145/62959.62969">Efficient and portable combined random number generators</a>, Commun. ACM, 31, 6 (1988), 742-749 and 774.
%H A384399 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384399 a(n) = 41546 * a(n-1) mod (2^31-837).
%t A384399 NestList[Mod[41546*#, 2^31 - 837] &, 1, 50] (* _Paolo Xausa_, May 30 2025 *)
%Y A384399 Cf. A384397, A384398, A384400, A384401, A384402.
%Y A384399 Cf. A096550-A096561 other pseudo-random number generators.
%K A384399 nonn,easy
%O A384399 1,2
%A A384399 _Sean A. Irvine_, May 27 2025