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.

A384159 Consecutive states of the linear congruential pseudo-random number generator for 32-bit WATFOR/WATFIV when started at 1.

This page as a plain text file.
%I A384159 #11 May 28 2025 16:23:46
%S A384159 1,20613,424895769,938169853,404929649,1693398709,828374025,631292077,
%T A384159 1220159969,1976439269,430365689,2020481117,2026879057,763630101,
%U A384159 1799615721,1993805069,1909315521,1935501125,533477081,1446792893,636483633,859521397,574460361,126586221
%N A384159 Consecutive states of the linear congruential pseudo-random number generator for 32-bit WATFOR/WATFIV when started at 1.
%C A384159 Periodic with period 2^29 (considerably less than the modulus).
%C A384159 WATFOR and WATFIV are early FORTRAN compilers from the University of Waterloo.
%D A384159 Terry M. Walker, Fundamentals of Fortran Programming: with WATFOR/WATFIV, Allyn and Bacon, 1975.
%H A384159 Sean A. Irvine, <a href="/A384159/b384159.txt">Table of n, a(n) for n = 1..10000</a>
%H A384159 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384159 a(n) = 20613 * a(n-1) mod 2^31.
%t A384159 NestList[Mod[20613*#, 2^31] &, 1, 23] (* _Stefano Spezia_, May 24 2025 *)
%Y A384159 Cf. A384158, A384160.
%Y A384159 Cf. A096550-A096561 other pseudo-random number generators.
%K A384159 nonn,easy
%O A384159 1,2
%A A384159 _Sean A. Irvine_, May 20 2025