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.
%I A384934 #11 Jun 16 2025 22:30:58 %S A384934 1,254,64516,2814,59386,10534,54156,58391,19952,21459,11015,45256, %T A384934 26049,62746,11993,31520,10566,62284,25719,44463,21238,20418,8749, %U A384934 59525,45840,43311,56315,16944,43871,1944,35017,46823,30845,35727,30552,26842,2020,54321 %N A384934 Consecutive states of the linear congruential pseudo-random number generator 254*s mod (2^16+1) when started at s=1. %C A384934 Periodic with period 2^16. %H A384934 Sean A. Irvine, <a href="/A384934/b384934.txt">Table of n, a(n) for n = 1..10000</a> %H A384934 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 A384934 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 A384934 Alan Tootill, <a href="https://archive.org/details/PersonalComputerWorld1982-06/page/132/mode/2up">PCW Subset</a>, Personal Computer World, June 1982, see p. 133. %H A384934 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers.</a> %F A384934 a(n) = 254 * a(n-1) mod (2^16+1). %t A384934 NestList[Mod[254*#, 2^16 + 1] &, 1, 50] (* _Paolo Xausa_, Jun 13 2025 *) %Y A384934 Cf. A357907. %K A384934 nonn,easy %O A384934 1,2 %A A384934 _Sean A. Irvine_, Jun 12 2025