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 A384973 #11 Jun 18 2025 11:22:35 %S A384973 1,102,2111,220,5837,7906,3883,7160,2265,7582,3927,3412,549,6298,5315, %T A384973 4336,3761,3030,2927,716,6781,4946,8027,7912,4489,2830,7303,324,8149, %U A384973 3850,3827,1504,4449,6982,671,2236,4653,3010,907,1496,3641,7294,7607,6452,4485 %N A384973 Consecutive states of the linear congruential pseudo-random number generator (101*s+1) mod 2^13 when started at s=1. %C A384973 Periodic with period 2^13. %H A384973 Sean A. Irvine, <a href="/A384973/b384973.txt">Table of n, a(n) for n = 1..8192</a> %H A384973 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 A384973 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers.</a> %F A384973 a(n) = (101*a(n-1) + 1) mod 2^13. %t A384973 NestList[Mod[101*# + 1, 2^13] &, 1, 50] (* _Paolo Xausa_, Jun 18 2025 *) %Y A384973 Cf. A384126, A384152, A384158, A384194. %K A384973 nonn,look,easy %O A384973 1,2 %A A384973 _Sean A. Irvine_, Jun 13 2025