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.

A384935 Consecutive states of the linear congruential pseudo-random number generator 513*s mod (2^31-1) when started at s=1.

This page as a plain text file.
%I A384935 #11 Jun 13 2025 08:20:20
%S A384935 1,513,263169,135005697,538445857,1344817825,549293538,467227237,
%T A384935 1316887764,1253557774,977527609,1107973666,1454807850,1139601541,
%U A384935 500038549,969221644,1141980915,1720657411,81472926,993421745,671730846,1000540478,28673581,1824645171
%N A384935 Consecutive states of the linear congruential pseudo-random number generator 513*s mod (2^31-1) when started at s=1.
%C A384935 Periodic with period 2^31-2.
%H A384935 Sean A. Irvine, <a href="/A384935/b384935.txt">Table of n, a(n) for n = 1..10000</a>
%H A384935 B. D. Ripley, <a href="https://doi.org/10.2307/1402590">Computer Generation of Random Variables: A Tutorial</a>, International Statistical Review, 51 (1983), 301-309.
%H A384935 Alan Tootill, <a href="https://archive.org/details/PersonalComputerWorld1982-09/page/172/mode/2up">PCW Subset</a>, Personal Computer World, September 1982, see p. 173.
%H A384935 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers.</a>
%F A384935 a(n) = 513 * a(n-1) mod (2^31-1).
%t A384935 NestList[Mod[513*#, 2^31 - 1] &, 1, 30] (* _Paolo Xausa_, Jun 13 2025 *)
%Y A384935 Cf. A096550.
%K A384935 nonn,easy
%O A384935 1,2
%A A384935 _Sean A. Irvine_, Jun 12 2025