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.

A384291 Consecutive internal states of the linear congruential pseudo-random number generator (214013*s+13737667) mod 2^24 when started at s=1.

This page as a plain text file.
%I A384291 #11 Jun 19 2025 19:49:56
%S A384291 1,13951680,13497987,7046970,2650389,10542980,14290999,3607070,
%T A384291 3569769,6625672,160299,10400834,10291709,10007756,7450719,7522726,
%U A384291 16472529,3020112,14720723,14208586,15784933,1498900,676231,15697454,3228729,521752,6298747,11728210
%N A384291 Consecutive internal states of the linear congruential pseudo-random number generator (214013*s+13737667) mod 2^24 when started at s=1.
%C A384291 Periodic with period 2^24.
%C A384291 Used by some versions of IBM BASIC.
%D A384291 David I. Schneider, Handbook of BASIC (3rd ed.), Simon & Schuster, 1988 (see p. 497).
%H A384291 Sean A. Irvine, <a href="/A384291/b384291.txt">Table of n, a(n) for n = 1..10000</a>
%H A384291 W. E. Sharp and Carter Bays, <a href="https://doi.org/10.1016/0098-3004(92)90060-5">A review of portable random number generators</a>, Computers and Geosciences, 18, 1 (1982), 79-87.
%H A384291 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384291 a(n) = (214013 * a(n-1) + 13737667) mod 2^24.
%t A384291 NestList[Mod[214013*# + 13737667, 2^24] &, 1, 50] (* _Paolo Xausa_, May 27 2025 *)
%Y A384291 Cf. A384289, A384290.
%K A384291 nonn,easy
%O A384291 1,2
%A A384291 _Sean A. Irvine_, May 24 2025