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.

A384316 Consecutive states of the linear congruential pseudo-random number generator 3125*s mod 2^26 when started at s=1.

This page as a plain text file.
%I A384316 #12 May 27 2025 16:41:36
%S A384316 1,3125,9765625,50153869,31643185,33596453,30652329,24179197,62518625,
%T A384316 16800021,20933977,54644589,39390609,17996549,1987593,37212637,
%U A384316 56938177,26204661,16751545,3664205,42133745,361957,57373801,45352381,59378721,2494165,9637401,52107053
%N A384316 Consecutive states of the linear congruential pseudo-random number generator 3125*s mod 2^26 when started at s=1.
%C A384316 Periodic with period 2^24 (considerably less than the modulus).
%H A384316 Sean A. Irvine, <a href="/A384316/b384316.txt">Table of n, a(n) for n = 1..10000</a>
%H A384316 M. C. Pike and I. D. Hill, <a href="https://doi.org/10.1145/365628.365648">Algorithm 266: pseudo-random numbers [G5]</a>, Commun. ACM, 8, 10 (1965), p. 605.
%H A384316 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384316 a(n) = 3125 * a(n-1) mod 2^26.
%t A384316 NestList[Mod[3125*#, 2^26] &, 1, 50] (* _Paolo Xausa_, May 27 2025 *)
%Y A384316 Cf. A096550-A096561 other pseudo-random number generators.
%K A384316 nonn,easy
%O A384316 1,2
%A A384316 _Sean A. Irvine_, May 25 2025