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.

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

This page as a plain text file.
%I A384290 #17 May 27 2025 06:12:03
%S A384290 1,10609344,3405443,427834,2388245,7987076,1839159,4065822,15628393,
%T A384290 661896,14709291,13743170,13699581,13219020,11251807,9554342,7035345,
%U A384290 11212112,3579603,10735178,6085605,10477332,3953031,2524718,5850169,6092312,3021947,1439058
%N A384290 Consecutive internal states of the linear congruential pseudo-random number generator (214013*s+10395331) mod 2^24 when started at s=1.
%C A384290 Periodic with period 2^24.
%C A384290 Used by some versions of IBM BASIC.
%D A384290 David I. Schneider, Handbook of BASIC (3rd ed.), Simon & Schuster, 1988 (see p. 497).
%H A384290 Sean A. Irvine, <a href="/A384290/b384290.txt">Table of n, a(n) for n = 1..10000</a>
%H A384290 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 A384290 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers.</a>
%F A384290 a(n) = (214013 * a(n-1) + 10395331) mod 2^24.
%t A384290 NestList[Mod[214013*# + 10395331, 2^24] &, 1, 50] (* _Paolo Xausa_, May 27 2025 *)
%Y A384290 Cf. A383645, A384289, A384291.
%K A384290 nonn,easy
%O A384290 1,2
%A A384290 _Sean A. Irvine_, May 24 2025