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.

A384745 Consecutive states of the linear congruential pseudo-random number generator (5^17*s+1) mod 2^48 when started at s=1.

This page as a plain text file.
%I A384745 #12 Jun 12 2025 10:22:43
%S A384745 1,762939453126,108446592504415,237117407802652,117233362822797,
%T A384745 181464088068226,50336702857227,255306056401528,30528867956313,
%U A384745 110940877951102,23915768730871,190863546762260,232890898414437,164321838504634,236717685210403,41303196833264
%N A384745 Consecutive states of the linear congruential pseudo-random number generator (5^17*s+1) mod 2^48 when started at s=1.
%C A384745 Periodic with period 2^48.
%D A384745 Brian D. Ripley, Stochastic Simulation, John Wiley & Sons, 1987 (see p. 39).
%H A384745 Sean A. Irvine, <a href="/A384745/b384745.txt">Table of n, a(n) for n = 1..10000</a>
%H A384745 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384745 a(n) = (5^17 * a(n-1) + 1) mod 2^48.
%t A384745 NestList[Mod[5^17*# + 1, 2^48] &, 1, 20] (* _Paolo Xausa_, Jun 12 2025 *)
%Y A384745 Cf. A382305.
%K A384745 nonn,easy
%O A384745 1,2
%A A384745 _Sean A. Irvine_, Jun 08 2025