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.
%I A384397 #13 May 29 2025 06:13:24 %S A384397 1,45742,2092330564,521429475,1283746116,346822856,916086159, %T A384397 1929881610,71652547,472145160,1777485336,2037740772,997589268, %U A384397 2015058584,703108709,897067814,1723253915,1726644935,72441828,68230099,688768691,2085682592,1372443189,933442051 %N A384397 Consecutive states of the linear congruential pseudo-random number generator 45742*s mod (2^31-909) when started at s=1. %C A384397 Periodic with period 2^31-910. %H A384397 Sean A. Irvine, <a href="/A384397/b384397.txt">Table of n, a(n) for n = 1..10000</a> %H A384397 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 A384397 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>. %F A384397 a(n) = 45742 * a(n-1) mod (2^31-909). %t A384397 NestList[Mod[45742*#, 2^31 - 909] &, 1, 50] (* _Paolo Xausa_, May 29 2025 *) %Y A384397 Cf. A384398, A384399, A384400, A384401, A384402. %Y A384397 Cf. A096550-A096561 other pseudo-random number generators. %K A384397 nonn,easy %O A384397 1,2 %A A384397 _Sean A. Irvine_, May 27 2025