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.

A384341 Consecutive states of the linear congruential pseudo-random number generator (31481*s+21139) mod 10^5 when started at s=1.

This page as a plain text file.
%I A384341 #11 May 27 2025 08:38:31
%S A384341 1,52620,51359,53818,65597,80296,19515,72854,37913,60292,73591,39410,
%T A384341 87349,55008,27987,79886,12305,94844,5103,68682,99181,38200,95339,
%U A384341 88198,82377,31476,17095,88834,4293,69072,76771,48990,75329,53388,28767,35066,33885,54824
%N A384341 Consecutive states of the linear congruential pseudo-random number generator (31481*s+21139) mod 10^5 when started at s=1.
%C A384341 Periodic with period 10^5.
%C A384341 A generator recommended by Van Es et al. for pocket calculators.
%C A384341 Referred to as "Pocket I" in the literature.
%H A384341 Sean A. Irvine, <a href="/A384341/b384341.txt">Table of n, a(n) for n = 1..10000</a>
%H A384341 A.J. Van Es, R.D. Gill, and C. Van Putten, <a href="https://doi.org/10.1111/j.1467-9574.1983.tb00805.x">Random number generators for a pocket calculator</a>, Statistica Neerlandica, 37, 3 (1983), 95-102.
%H A384341 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384341 a(n) = (31481 * a(n-1) + 21139) mod 10^5.
%t A384341 NestList[Mod[31481*# + 21139, 10^5] &, 1, 50] (* _Paolo Xausa_, May 27 2025 *)
%Y A384341 Cf. A384081, A384340.
%K A384341 nonn,easy
%O A384341 1,2
%A A384341 _Sean A. Irvine_, May 26 2025