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.

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

This page as a plain text file.
%I A384402 #13 May 30 2025 11:26:28
%S A384402 1,39373,1550233129,1548773083,2044440394,1622092461,482805173,
%T A384402 2110316932,1218777559,1406738292,1756031139,1978020682,2113853931,
%U A384402 894602131,142925769,1009147697,429837187,1808425391,1165119911,1868072236,293238278,798633422,1138165032
%N A384402 Consecutive states of the linear congruential pseudo-random number generator 39373*s mod (2^31-1) when started at s=1.
%C A384402 Periodic with period 2^31-2.
%H A384402 Sean A. Irvine, <a href="/A384402/b384402.txt">Table of n, a(n) for n = 1..10000</a>
%H A384402 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 A384402 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384402 a(n) = 39373 * a(n-1) mod (2^31-1).
%t A384402 NestList[Mod[39373*#, 2^31 - 1] &, 1, 50] (* _Paolo Xausa_, May 30 2025 *)
%Y A384402 Cf. A384397, A384398, A384399, A384400, A384401.
%Y A384402 Cf. A096550-A096561 other pseudo-random number generators.
%K A384402 nonn,easy
%O A384402 1,2
%A A384402 _Sean A. Irvine_, May 27 2025