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.

A384289 Consecutive internal states of the linear congruential pseudo-random number generator for GWBASIC 3.23 when started at 1.

This page as a plain text file.
%I A384289 #16 Jun 19 2025 19:46:06
%S A384289 1,2745024,2356867,12486458,8679701,14802820,7082039,14027294,
%T A384289 11434089,5380488,9466411,4830274,15796733,15840460,12300383,15321510,
%U A384289 15423953,11736400,10919635,14405194,3988453,8904468,807303,4097582,10044473,2422296,6167675,914770
%N A384289 Consecutive internal states of the linear congruential pseudo-random number generator for GWBASIC 3.23 when started at 1.
%C A384289 Periodic with period 2^24.
%C A384289 Also the random number generator used by Commodore AmigaBASIC.
%C A384289 Possibly also used by other versions of GWBASIC.
%D A384289 David I. Schneider, Handbook of BASIC (3rd ed.), Simon & Schuster, 1988 (see p. 497).
%H A384289 Sean A. Irvine, <a href="/A384289/b384289.txt">Table of n, a(n) for n = 1..10000</a>
%H A384289 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 A384289 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384289 a(n) = (214013 * a(n-1) + 2531011) mod 2^24.
%t A384289 NestList[Mod[214013*#+2531011, 2^24] &, 1, 27] (* _Stefano Spezia_, May 24 2025 *)
%Y A384289 Cf. A096550-A096561 other pseudo-random number generators.
%Y A384289 Cf. A384290, A384291 (similar parameters).
%K A384289 nonn,easy
%O A384289 1,2
%A A384289 _Sean A. Irvine_, May 24 2025