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.

A384339 Consecutive states of the linear congruential pseudo-random number generator for Berkeley Pascal 3.1 when started at 1.

This page as a plain text file.
%I A384339 #10 May 27 2025 08:40:13
%S A384339 1,113280614,518180871,401789364,123511293,522841650,132082531,
%T A384339 254284640,306822585,36791486,267986559,195744204,63672117,39581194,
%U A384339 434609499,223082744,48501361,535916054,463875063,53294308,487523181,390617314,240119379,401404304,176021033
%N A384339 Consecutive states of the linear congruential pseudo-random number generator for Berkeley Pascal 3.1 when started at 1.
%C A384339 Periodic with period 2^29.
%C A384339 The default initial seed is 7774755, but 1 is used here for consistency with other OEIS sequences.
%H A384339 Sean A. Irvine, <a href="/A384339/b384339.txt">Table of n, a(n) for n = 1..10000</a>
%H A384339 William N. Joy, Susan L. Graham, Charles B. Haley, Marshall Kirk McKusick, and Peter B. Kessler, <a href="https://www.researchgate.net/publication/2570821_Berkeley_Pascal_User&#39;s_Manual">Berkeley Pascal's User Manual</a>, Version 3.1, April 1986.
%H A384339 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384339 a(n) = (62605 * a(n-1) + 113218009) mod 2^29.
%t A384339 NestList[Mod[62605*# + 113218009, 2^29] &, 1, 50] (* _Paolo Xausa_, May 27 2025 *)
%Y A384339 Cf. A383940, A384150, A384194, A384236 (other Pascal generators).
%K A384339 nonn,easy
%O A384339 1,2
%A A384339 _Sean A. Irvine_, May 26 2025