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.

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

This page as a plain text file.
%I A384398 #15 May 29 2025 06:16:00
%S A384398 1,42024,1766016576,222470065,1089378807,16633650,1080597275,
%T A384398 348574654,521074075,1882288804,923207262,437695422,522223563,
%U A384398 796268093,293335050,560863460,1102302065,1937961990,1924405437,1306764430,38219148,1951823205,312782725,1786493280
%N A384398 Consecutive states of the linear congruential pseudo-random number generator 42024*s mod (2^31-847) when started at s=1.
%C A384398 Periodic with period 2^31-848.
%H A384398 Sean A. Irvine, <a href="/A384398/b384398.txt">Table of n, a(n) for n = 1..10000</a>
%H A384398 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 A384398 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384398 a(n) = 42024 * a(n-1) mod (2^31-847).
%t A384398 NestList[Mod[42024*#, 2^31 - 847] &, 1, 50] (* _Paolo Xausa_, May 29 2025 *)
%Y A384398 Cf. A384397, A384399, A384400, A384401, A384402.
%Y A384398 Cf. A096550-A096561 other pseudo-random number generators.
%K A384398 nonn,easy
%O A384398 1,2
%A A384398 _Sean A. Irvine_, May 27 2025